Hackerpilot
|
e598033b70
|
Merge branch 'range-based-lexer' of https://github.com/Hackerpilot/Dscanner into range-based-lexer
|
2013-07-02 23:47:24 +00:00 |
Hackerpilot
|
7c744a07f6
|
Now able to parse about half of Phobos
|
2013-07-02 21:39:14 -07:00 |
Hackerpilot
|
1e9db2e0b0
|
Grammar cleanup
|
2013-07-02 23:47:21 +00:00 |
Hackerpilot
|
153e7c3b8e
|
Parser can now parse itself. Also parses std.array
|
2013-07-01 01:50:54 +00:00 |
Hackerpilot
|
95c7c25fc6
|
Parser now handles more code. Rearranged token struct to fit in 32 bytes
|
2013-06-30 13:21:10 -07:00 |
Hackerpilot
|
f7e7cf19ee
|
All non-ASM TODO comments replaced with code. Now the debugging begins
|
2013-06-29 01:54:52 -07:00 |
Hackerpilot
|
a12a8a866b
|
Can now parse the ast and tester modules
|
2013-06-28 02:35:12 -07:00 |
Hackerpilot
|
859ddd3d20
|
Fewer TODO comments
|
2013-06-27 22:08:46 -07:00 |
Hackerpilot
|
ad8b4fdeaa
|
Fixed shadowing declaration
|
2013-06-27 16:27:05 -07:00 |
Hackerpilot
|
7a4e588793
|
Remove crash-prone *expect calls
|
2013-06-27 16:25:44 -07:00 |
Hackerpilot
|
62734e58df
|
Parser is now able to parse the AST module
|
2013-06-27 02:07:45 -07:00 |
Hackerpilot
|
084bc6fd86
|
Reduced number of TODO comments
|
2013-06-27 01:08:04 -07:00 |
Hackerpilot
|
635ddf79a0
|
More work on the various expression parsing functions
|
2013-06-25 01:18:09 -07:00 |
Hackerpilot
|
1beef6a901
|
Unary and Primary expression parsing
|
2013-06-24 02:33:40 +00:00 |
Hackerpilot
|
38105d542f
|
Merged
|
2013-06-22 17:47:17 +00:00 |
Hackerpilot
|
2802eb20a9
|
More work on the parser
|
2013-06-22 17:23:30 -07:00 |
Hackerpilot
|
7ed0e4a720
|
more changes
|
2013-06-22 17:35:09 +00:00 |
Hackerpilot
|
3a66f01405
|
more implementation work
|
2013-06-15 23:37:37 -07:00 |
Hackerpilot
|
6dc1e4c2ff
|
Can now actually parse some basic code
|
2013-06-10 09:30:02 +00:00 |
Hackerpilot
|
79bfe7af4e
|
More progress. Cleaned up grammar based on the fact that the semicolon is no longer a valid statement. Added unit tests. Implemented some more parsing methods
|
2013-06-09 03:10:52 +00:00 |
Hackerpilot
|
4fdcccc8bc
|
More progress on the parser
|
2013-06-08 22:51:47 -07:00 |
Hackerpilot
|
e7d78c214c
|
__parameters is not a rule
|
2013-06-05 01:00:07 +00:00 |
Hackerpilot
|
6aa3fcfd02
|
Finished grammar DDoc
|
2013-06-05 00:46:51 +00:00 |
Hackerpilot
|
90b6d37c5d
|
MOAR PARSING STUFF
|
2013-06-03 00:50:13 +00:00 |
Hackerpilot
|
0e58854fa9
|
Lots of DDoc changes, some parser work
|
2013-06-01 17:51:45 +00:00 |
Hackerpilot
|
4ad043085a
|
Parser progress
|
2013-06-01 12:15:25 -07:00 |
Hackerpilot
|
8db927a8fd
|
Progress on the parser
|
2013-05-30 19:56:55 -07:00 |
Hackerpilot
|
e405a1ad2b
|
Minor cleanup on lexer. More work on the parser and AST
|
2013-05-30 01:12:10 +00:00 |
Hackerpilot
|
8a7c962d16
|
Parser implementation work
|
2013-05-22 23:50:23 -07:00 |
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
|
548996d1e5
|
Updated to include new special tokens
|
2013-05-05 12:45:25 -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
|
281751e52e
|
ast work
|
2013-03-30 22:59:22 -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 |
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 |
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 |
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 |