Commit Graph

121 Commits

Author SHA1 Message Date
Hackerpilot 22bacd83ce Fixed issue with column numbers being incorrect after lexing string literals 2014-03-09 14:51:55 -07:00
Hackerpilot 7102f557e5 Reverted a change that should not have been on this branch 2014-03-08 22:49:54 -08:00
Hackerpilot e21b717724 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-03-08 22:33:10 -08:00
Hackerpilot d157d31634 Convert message function to delegate so that it can actually do something useful 2014-03-08 22:33:00 -08:00
Hackerpilot 997373a069 Fix #146 2014-03-08 22:22:52 -08:00
Hackerpilot 6db7a268dc Merge pull request #144 from callumenator/class-decl
Allow for just identifier in class and interface decl
2014-03-08 20:31:00 -08:00
Callum Anderson 7d95f48554 Attribute declarations can have attributes 2014-03-08 13:12:59 +11:00
Callum Anderson b3685f9849 Allow for just identifier in class and interface decl 2014-03-07 12:07:21 +11:00
Hackerpilot f146cc8d89 Merge pull request #142 from callumenator/postblit-attr
Allow member func attrs after postblit
2014-03-05 20:37:50 -08:00
Callum Anderson 0873c7b684 Hook manual memory management 2014-03-06 14:43:06 +11:00
Hackerpilot 6ebf4b4ca6 Merge pull request #141 from callumenator/lex-x
Lex \x escape sequence
2014-03-05 19:36:44 -08:00
Callum Anderson 42556e6558 Distinguish between struct initializer and func literal call expression 2014-03-06 10:45:28 +11:00
Callum Anderson db71af8ddb Allow member func attrs after postblit 2014-03-06 10:29:29 +11:00
Callum Anderson b8093ec269 Lex \x escape sequence 2014-03-06 09:53:23 +11:00
Hackerpilot 735f3ec004 Small refactoring 2014-03-04 23:17:54 -08:00
Hackerpilot 2ac1eb1729 Removed debug statement 2014-03-04 22:52:12 -08:00
Hackerpilot efdde7c988 Fix #138. Parser should now support opCall correctly 2014-03-04 22:49:20 -08:00
Hackerpilot 020137cb94 DERP 2014-03-04 00:28:32 -08:00
Hackerpilot fdce684849 Alias declarations now have ddoc parsed 2014-03-03 23:48:41 -08:00
Hackerpilot 8070c39551 Fix #139 2014-03-03 23:15:13 -08:00
Hackerpilot f3d422ecab Make it possible to use the new allocator design for the parser 2014-03-03 22:27:44 -08:00
Hackerpilot b60df8e5c4 Make most AST classes final and most methods for processing them const 2014-03-03 22:24:58 -08:00
Hackerpilot c660faa5bf Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-02-26 00:22:40 -08:00
Hackerpilot 299969b252 String interning is now shared and nearly lock free 2014-02-26 00:22:01 -08:00
Callum Anderson 083c3f5d41 Distinguish between conditional dec and stmnt 2014-02-24 11:17:26 +11:00
Callum Anderson bdc5c7aa52 Struct member initializers were not being stored 2014-02-24 09:31:44 +11:00
Hackerpilot 63b9ee48ae Merge pull request #120 from callumenator/anon-class-fix
Check for constructor args in new anon class expression
2014-02-21 22:13:09 -08:00
Callum Anderson 355791cee6 Check for constructor args in new anon class expression 2014-02-22 16:53:37 +11:00
Callum Anderson faf17b8afe Allow typeof expression in template mixin 2014-02-22 15:56:50 +11:00
Callum Anderson 6f5c71eef1 Allow function attributes in lambda expression 2014-02-22 14:37:08 +11:00
Hackerpilot dcc6c9e304 Merge pull request #116 from callumenator/dbg-stmnt-fix
debug/version = blah is treated as a statement
2014-02-20 22:14:56 -08:00
Callum Anderson 4c05a09663 debug/version = blah is treated as a statement 2014-02-21 16:50:03 +11:00
Callum Anderson 65bed05fa7 Case range statement - low node not set 2014-02-21 16:02:04 +11:00
Hackerpilot 2eba33c1d3 Updated DDoc, made template order more consistent. 2014-02-20 01:04:48 -08:00
Hackerpilot e6c83354e5 Fix issue with slice expressions not being visited or printed 2014-02-17 21:01:49 -08:00
Hackerpilot 0afeca5f9f Make moreTokens public 2014-02-14 09:01:21 -08:00
Hackerpilot 54118e905f Merge pull request #106 from AndrejMitrovic/FixAliasLinkage
Add linkage attribute parsing support to alias declarations.
2014-02-12 10:57:52 -08:00
Andrej Mitrovic a531013764 Add linkage attribute parsing support to alias declarations. 2014-02-12 19:55:12 +01:00
Hackerpilot 1358b5ace9 Merge pull request #105 from AndrejMitrovic/ParseBaseProtection
Emit warning for deprecated base class protection syntax.
2014-02-11 10:13:18 -08:00
Andrej Mitrovic 89bbb41059 Emit warning for deprecated base class protection syntax. 2014-02-11 13:02:49 +01:00
Andrej Mitrovic ab067e5732 Change Lexer API: Remove IDType parameter, it can be retrieved via the Token parameter. Re-arrange parameters so tokens are in order and can be used as a typetuple through multiple other templated functions. 2014-02-11 12:17:40 +01:00
Hackerpilot a5d7bf0956 Fixed ddoc macro mistake 2014-02-03 01:10:07 -08:00
Hackerpilot ead34bcac7 Delete parser.html 2014-02-03 01:06:40 -08:00
Hackerpilot 4e5e2268ec Delete parser.o 2014-02-03 01:06:30 -08:00
Hackerpilot d274608d70 Updated ddoc 2014-02-03 01:03:51 -08:00
Hackerpilot 552d0bbb07 Solved the mystery of the disappearing doc comments 2014-01-30 20:00:20 -08:00
Hackerpilot b682648b27 Fix infinite loop in identifier lexing 2014-01-29 22:06:30 -08:00
Hackerpilot bf7f098799 Fix bug in HEREDOC string literal lexing 2014-01-29 15:39:57 -08:00
Callum Anderson a8f888c436 Fix: unary expression unexpected end, range violations 2014-01-29 10:25:51 +11:00
Hackerpilot d13d680b74 Updated lexer docs. Implemented delete and fp operator rules. Fixed bug with AST traversal 2014-01-26 22:47:21 -08:00