[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 5f820bd073 02/27: Improved documentation abou
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 5f820bd073 02/27: Improved documentation about grammar generation |
Date: |
Sat, 4 Mar 2023 03:24:55 -0500 (EST) |
branch: externals/phps-mode
commit 5f820bd0734b17abd985ccaced43fe60ae488c83
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Improved documentation about grammar generation
---
Makefile | 4 ++++
admin/phps-mode-automation.el | 8 +++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 6a7b376b34..42914abbc5 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,10 @@ clean:
.PHONY: parser
parser:
+ rm phps-mode-automation-grammar.elc; $(EMACS_CMD) -L
~/.emacs.d/emacs-parser-generator/ -l phps-mode-lexer.el -l
admin/phps-mode-automation.el -eval "(progn (require
'parser-generator-lr-export)(setq debug-on-signal t)(setq debug-on-error
t)(phps-mode-automation))"
+
+.PHONY: parser-resumed
+parser-resumed:
rm phps-mode-automation-grammar.elc; $(EMACS_CMD) -L
~/.emacs.d/emacs-parser-generator/ -l phps-mode-lexer.el -l
admin/phps-mode-automation.el -l resume.el -eval "(progn (require
'parser-generator-lr-export)(setq debug-on-signal t)(setq debug-on-error
t)(phps-mode-automation))"
.PHONY: compile
diff --git a/admin/phps-mode-automation.el b/admin/phps-mode-automation.el
index c2acc1fedc..7a5c05d9dc 100644
--- a/admin/phps-mode-automation.el
+++ b/admin/phps-mode-automation.el
@@ -7,12 +7,10 @@
;;; Uses a parser-generator library to convert LALR(1) YACC grammar into a
Canonical LR(1) Parser
-;; This does not work if some variables are byte-compiled therefore we delete
byte-compiled files in `make parser' command
+;; This does not work if some variables are byte-compiled therefore we delete
byte-compiled files in `make parser &> output.txt' command, follow progress
with `tail -f output.txt'
-;; To resume use command: `make parser &> output.txt'
-;; and to extract Emacs-Lisp data to separate file run `cat output.txt | grep
-F "-resume" - > resume.el'
-;; and then to resume parser-generation run
-;; `rm phps-mode-automation-grammar.elc; emacs -Q -batch -L . -L
~/.emacs.d/emacs-parser-generator -l phps-mode-lexer.el -l
admin/phps-mode-automation.el -eval "(progn (require
'parser-generator-lr)(require 'parser-generator-lr-export))" -eval
"(phps-mode-automation)"'
+;; If generation fails for some reason, to extract Emacs-Lisp data to a
separate file run `cat output.txt | grep -F "-resume" - > resume.el'
+;; and then to resume use command: `make parser-resumed &> output.txt'
;;; Code:
- [elpa] externals/phps-mode updated (5c0414fa94 -> 36fd241124), Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 925ed6881f 01/27: Updated grammar URL, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 7d2dea0517 04/27: Improved documentation about failed download, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode a9242bf8b9 03/27: Using parser-generator downloaded from GNU ELPA, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode ada66dc7f3 09/27: Updated lexer for PHP 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 1ac3e40e4d 13/27: Removed deletion of byte-compiled file when generating parser, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 3d1bb67d45 05/27: Removed memory limit on parser generation automation script, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 5f820bd073 02/27: Improved documentation about grammar generation,
Christian Johansson <=
- [elpa] externals/phps-mode 9fca589a4f 06/27: Updated parser to 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode ed8db6b5b7 08/27: Improved debug output, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode f4a26e193d 16/27: Updated and parser tests to 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 9b6c89191b 12/27: Fixed typo, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 9cade60362 17/27: More notes on automation, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 2c39b1af73 20/27: Updated SDT to production 350, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 37fd682568 07/27: Added failing unit tests for PHP 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 4636d702ac 10/27: Improved tests for PHP 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 54fec9e358 15/27: Removed note about error occuring, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 2a296e0947 11/27: Updated output in parser generator automation, Christian Johansson, 2023/03/04