cjohansson pushed a change to branch externals/phps-mode. from b7b4706 Using Travis.com instead of Travis.org new 3421b6a Improved parser generator location new 60344ea Improved recovery in automation by dumping generated data new 8120895 Fixed parser generation and automatically cleans bytecode when generating parser new f4c9f8b Added generated parser new d2872f7 Started on parser test new 1dd3bd3 More working on trying to get parser test working new 7a0eecd First test passing for parser new 2b167f3 Fixes for parsing start and end new 3f5c008 Optimization for lexer to only need to execute once per index new c15fa0c Using parser-mode for lexer new 2189d31 Fixes for lexer in parser to handle T_CLOSE_TAG new 50ed917 Using non-parser mode for lexer new ab56c99 More work on debugging parser-lexer new 5c7c6f4 Parser passes basic lexing test new 376e690 Verified parse new 2a9fb96 Added more tests for parser new 569505e Added parser header and fixed byte-compilation for parser new 50a014a Using same lexer buffer for parser as the lex-analyzer is using new fb9905f Added basic translation test new 0d1843f Started on parser integration new b714471 Added parse function in lex-analyzer and a test for it new ec18c1e Using parser to be able to implement incremental parser new 2ceb6e5 Added potential support for incremental parsing new add17a7 T_COMMENT and T_DOC_COMMENT are excluded from parser new f46b98f More work on integrating parser new e59d30e Improvements in lex-analyzer for parser new c62ec64 Started refactor of parsers lex-analyzer new 1ee3094 More refactoring of the parsers lex-analyzer new 6b3a298 More work on parsers lex-analyzer refactor new 7c66145 Refactor of parsers lex-analyzer complete new 7323416 Added failing test for parser new 45508e1 Reverted integration of parser into other files due to immaturity new 9acda54 Added more passing tests for parser new 37dda7a Added another failing test for parser new 0e89b6e Fixed bug in automation grammar new 65152f4 Added TODO item new 339e39b Started on YACC grammar parser generator new c470e37 More work on grammar parser generator new 244a62b Parser generator now can parse PHP YACC productions new 6b9c1a4 More pasing of grammar new 3fa1b13 Translation of productions now working new a449b5b Improved formatting of generated productions new e3d973d Improved support for semi-colon in grammar delimiter new b0ad204 Improved YACC grammar parser for productions new a6c5db1 Updated grammar productions based on automatically parsed grammar from YACC new 3824d7d More work on automatically parsing YACC grammar new 2ac480a Started on automatic generation of terminals, non-terminals and start as well new 42c4e0e Work on automatically generating terminals, non-terminals and start from YACC grammar new f56ba64 Terminals, non-terminals and start is automatically generated from YACC new 751bece Removed terminals, non-terminals and start from automation grammar new eb17d8c Improved resuming of parser-generation new 962e7c8 Context-sensitive precedence attribute is automatically parsed from YACC new fb57c3b Started on parser for global declaration new 4dbd9a2 Automatically parsing of global declaration from YACC new 024e8d4 Setting up context-sensitive attributes automatically new 6af98c4 Productions are now read automatically again new 605b76c Removed note new b94cbbf Set GB collection in automation new e418621 Projects passes tests and byte-compilation again new 1789d15 Fixed bug in gramamr automation new bb4858b Defined lex-analyzer reset function for parser new 22f0a47 Parser generator passing byte-compilation new 212fd7f Fixed warning in byte-compilation new e698a2e Re-generated parser with automated grammar new 945571c Fixed byte-compilation issues with parser new 07a983d Passing parser tests new b551e69 Added TODO items new 20ad000 Added another TODO item new e3b9403 Removed garbage collection modification new 4f7126b Fixed automation grammar setting of lex-analyzer functions new bc8306f Fix in automation grammar to support exporting new ce5e28e Added generated grammar in output of automation new 91b425f Update of parsers lex-analyzer function to not depend on lexer buffer new 08e1325 Test of parser not dependent on buffer name new 128868c Added another parse test new 238f967 Cleaned up lex function new eced7be Parser now not dependent on lex-analyzer variables new 37fdd2e Passing all tests with parser integrated somewhat new f44577a More testing integrating parser and lex-analyzer new 5e375e3 Parser is not blocking lexer anymore new 7cfa35c Improved error-reporting for parser errors new c9f6fdb Mode-line status now signals parser errors new 0f11914 Fixed lexer issue with wrong token for expressions inside double quoted strings new 50c9b31 Added 2 TODO items new 8e263fe Removed T_DIE as token as it's replaced by T_EXIT new 7b62779 Added another TODO item new c5058c5 Fixed issue with async.el support for parser new e007ea7 Fixed parser-mode issue with parser and lex-analyzer integration new aa691a8 Added parser and lexer integraction-fix to automation new 3489f9d Parser parse function now ignores creating a SDT new 620ec6e Optimization of parser speed new ff25e3d Removed obsolete files new daba241 Added another TODO item new 95479f9 Updates of documentation new fd604c1 Added garbage collection modification to grammar automation again new efeaadd Updated version and description
Summary of changes: Makefile | 7 +- README.md | 12 +- admin/phps-mode-automation.el | 277 ++++-- docs/todo.md | 16 - phps-mode-automation-grammar.el | 1472 +----------------------------- phps-mode-automation-parser-generator.el | 644 +++++++++++++ phps-mode-lex-analyzer.el | 280 ++++-- phps-mode-lexer.el | 25 +- phps-mode-parser-grammar-raw.wy | 1245 ------------------------- phps-mode-parser-grammar.wy | 665 -------------- phps-mode-parser.el | 765 ++++++++++++++++ phps-mode.el | 7 +- test/phps-mode-test-lex-analyzer.el | 23 +- test/phps-mode-test-lexer.el | 38 +- test/phps-mode-test-parser.el | 288 +++++- 15 files changed, 2200 insertions(+), 3564 deletions(-) delete mode 100644 docs/todo.md create mode 100644 phps-mode-automation-parser-generator.el delete mode 100644 phps-mode-parser-grammar-raw.wy delete mode 100644 phps-mode-parser-grammar.wy create mode 100644 phps-mode-parser.el