Commit Graph

1532 Commits

Author SHA1 Message Date
Hackerpilot 35e5ad63c1 Filled out list of parsing functions based on new AST 2013-05-20 01:49:55 +00:00
Hackerpilot 2a9dfaf3f5 AST classes are now complete. Will likely be refactored later. 2013-05-20 00:53:43 +00:00
Hackerpilot a2e0a3bfe2 More progress on the AST clasess. 2013-05-19 12:26:34 -07:00
Hackerpilot e5c7129803 Fixed compile error 2013-05-11 14:18:15 +00:00
Hackerpilot b971646cf0 Updated for newer textadept 2013-05-11 14:17:56 +00:00
Hackerpilot f5a6c24586 added predefined versions 2013-05-11 01:59:14 -07:00
Hackerpilot 548996d1e5 Updated to include new special tokens 2013-05-05 12:45:25 -07:00
Hackerpilot a53f8319f8 Fixed import declaarations and deprecation attributes 2013-04-28 16:15:50 +00:00
Hackerpilot 232b13cf62 Fixed more errors 2013-04-28 14:34:54 -07:00
Hackerpilot d5051c5807 Fixed more errors 2013-04-26 13:36:06 -07:00
Hackerpilot 343e206b46 Fixed several errors 2013-04-22 23:01:03 -07:00
Hackerpilot 24d94721a5 Grammar work happens in the DGrammar project now. 2013-04-22 01:01:46 -07:00
Hackerpilot 45ba5570e7 Updated listing of special tokens. Began rewrite of AST based on new grammar. 2013-04-22 01:00:24 -07:00
Hackerpilot 461893dee3 Added token rules. Fixed a few errors. 2013-04-22 00:59:10 -07:00
Hackerpilot 63a254b9cb Cleanup 2013-04-21 14:09:52 -07:00
Hackerpilot adf8f09c7d Fixed accidental lower-casing of constants 2013-04-20 23:22:14 -07:00
Hackerpilot 065ae6e93a ANTLR grammar file 2013-04-19 21:29:17 -07:00
Hackerpilot 6694a4a875 First version 2013-04-20 01:21:32 +00:00
Hackerpilot 89ab43eba5 Initial commit 2013-04-20 01:20:13 -07:00
Hackerpilot efe475e18d Grammar progress 2013-04-15 00:49:53 -07:00
Hackerpilot 68abc32b69 more work on the grammar 2013-04-14 21:05:08 -07:00
Hackerpilot 366a07ae46 More progress on the grammar 2013-04-04 17:16:38 -07:00
Hackerpilot 2c56b01c15 grammar work 2013-04-03 12:16:01 -07:00
Hackerpilot 281751e52e ast work 2013-03-30 22:59:22 -07:00
Hackerpilot 75a802d51a Fixed issue #38 2013-03-26 13:26:27 -07:00
Hackerpilot 41ec752e86 Merge branch 'range-based-lexer' of https://github.com/Hackerpilot/Dscanner into range-based-lexer 2013-03-24 01:19:49 +00:00
Hackerpilot 490d632a29 added messagepack 2013-03-24 01:19:45 +00:00
Hackerpilot bd9ec03707 Merge pull request #36 from qchikara/range-based-lexer
Fix: Token#opEquals(TokenType) never returns false
2013-03-21 10:50:48 -07:00
qchikara ec57809ec9 Fix: Token#opEquals(TokenType) never returns false
opEquals(TokenType) never returns false because its argument shadows the corresponding field.
2013-03-21 01:44:17 +09:00
Hackerpilot aa406c76f2 Merge pull request #35 from blackwhale/range-based-lexer
Avoid array lookups where simple constants are fine
2013-03-18 13:35:11 -07:00
Dmitry Olshansky 8d8d72dfe5 fix a horrible perf mistake in genCaseTrie 2013-03-18 15:23:57 +04:00
Dmitry Olshansky ba5d9d6775 shift token type<->string mapping to CTFE/meta 2013-03-18 15:06:11 +04:00
Hackerpilot fdd4e3060e merged 2013-03-10 00:58:20 -08:00
Hackerpilot dc81410008 whitespace 2013-03-10 00:41:54 -08:00
Hackerpilot ae604fd559 Merge pull request #34 from blackwhale/more-mojo
More flexible hash table with rehashing
2013-03-10 00:10:28 -08:00
Dmitry Olshansky a692c0c6c9 a bit of tuning and it beats fixed-sized table by very slim margin 2013-03-08 22:09:45 +04:00
Dmitry Olshansky e5810db4e2 actually use the power-of-two assumption, brings it on par with load factor of 0.5 2013-03-08 14:16:14 +04:00
Dmitry Olshansky b9c1928746 add rehashing and simpler hash-table (sadly too slow) 2013-03-08 14:04:32 +04:00
Dmitry Olshansky 510b7ca47e actually there could be interior pointers once string cache is out of scope 2013-03-05 23:43:26 +04:00
Dmitry Olshansky 431dd3c3d2 kill foreach opApply iteration (too slow) 2013-03-05 23:17:40 +04:00
Hackerpilot c1fcef1873 merged 2013-03-04 02:05:18 +00:00
Hackerpilot 3c8b5c4bc4 fix compile errors by COMMENTING OUT EVERYTHING 2013-03-04 02:01:27 +00:00
Hackerpilot c867b86598 More work on core features 2013-03-03 23:50:52 +00:00
Hackerpilot a9519afee4 refactoring 2013-03-02 15:06:33 +00:00
Hackerpilot bd54c84e3d Ddoc / indentation fixes. Also moved the lexer source code below the "private:" line 2013-02-28 11:21:37 -08:00
Hackerpilot 55ad8941b0 Merge pull request #33 from blackwhale/kill-filtering
Speed up token filtering
2013-02-27 13:56:22 -08:00
Hackerpilot ee5231dcba Merge pull request #32 from blackwhale/range-based-lexer
Even leaner common path
2013-02-27 13:54:25 -08:00
Hackerpilot 1dfeb281d9 Merge branch 'range-based-lexer' of https://github.com/Hackerpilot/Dscanner into range-based-lexer 2013-02-27 21:01:49 +00:00
Hackerpilot 16ac572ad5 token rename 2013-02-27 21:01:46 +00:00
Dmitry Olshansky a4a35e88bc make filter work on case by case basis instead of on every token 2013-02-27 23:45:56 +04:00