Commit Graph

116 Commits

Author SHA1 Message Date
Hackerpilot 299969b252 String interning is now shared and nearly lock free 2014-02-26 00:22:01 -08:00
Hackerpilot d979e7ca22 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-02-22 12:52:52 -08:00
Hackerpilot 15f0558166 Fix lexers with no possibleDefaultTokens. Improve ddoc 2014-02-22 12:52:40 -08: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 07ad316723 Code review changes 2014-02-21 15:26:24 -08: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 2fb46a82c9 Use valid enum syntax instead of invalid alias syntax 2014-02-14 14:23:27 -08:00
Hackerpilot 3c6bab7d63 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-02-14 09:03:32 -08:00
Hackerpilot 0afeca5f9f Make moreTokens public 2014-02-14 09:01:21 -08:00
Andrej Mitrovic 236403ab31 Inject a private _tok template to allow user-defined tok() template to have an arbitrary name. 2014-02-13 10:32:27 +01: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
Hackerpilot 35171621d8 Merge pull request #104 from AndrejMitrovic/FixTokenID
Fix TokenID and tokenStringRepresentation implementations
2014-02-11 10:12:28 -08:00
Hackerpilot aa8a3754de Merge pull request #102 from AndrejMitrovic/TokenAPIChange
Change Lexer API
2014-02-11 10:06:22 -08:00
Andrej Mitrovic 89bbb41059 Emit warning for deprecated base class protection syntax. 2014-02-11 13:02:49 +01:00
Andrej Mitrovic fdad20c7c5 Fix TokenID implementation: The order of tokens in the static if branches was wrong. Using a simplified uniform array avoids these errors. Fix tokenStringRepresentation, it had the wrong order of comparisons just like TokenID. 2014-02-11 12:50:43 +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
Andrej Mitrovic e6109eebdc TokenId should take tokens length + 1 when determining integral type to make room for tok!"" 2014-02-11 11:53:28 +01:00
Hackerpilot 2293c33420 Merge pull request #97 from AndrejMitrovic/FixDocs
[Trivial] Add missing 'possibleDefaultTokens.length' in TokenIdType docs.
2014-02-10 10:32:41 -08:00
Andrej Mitrovic 3f0babc64c Fixup some typo's. 2014-02-10 18:17:14 +01:00
Andrej Mitrovic 0bf31d5c8b Add missing 'possibleDefaultTokens.length' in TokenIdType docs. 2014-02-10 18:09:05 +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 acfd44eea8 Delete lexer.html 2014-02-03 01:06:23 -08:00
Hackerpilot 96087e74cb Delete lexer.o 2014-02-03 01:06:03 -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
Hackerpilot 2f78272fed Simplified lexer interface 2014-01-23 22:54:18 -08:00
Hackerpilot 76fc800d30 Fixed bug in dot parsing 2014-01-23 02:38:30 -08:00
Hackerpilot 3eaf095625 Fix ordering on token handling 2014-01-23 02:29:27 -08:00
Hackerpilot 62df18f489 Fixed stupid off-by-one errors 2014-01-22 00:24:58 -08:00
Hackerpilot 4ec5af9093 Lots of optimization. Updated GDC portion of build script 2014-01-21 23:26:23 -08:00
Hackerpilot a060dabde7 Initial work on the lexer optimization 2014-01-21 19:48:03 -08:00
Hackerpilot d840eed12a Workaround for compiler segfault in 2.064.2 2014-01-21 14:21:11 -08:00
Hackerpilot 2cf405896a Fixed float lexing and static analysis issues 2014-01-20 20:34:30 -08:00
Hackerpilot 8a444fbd89 Initial static analysis checks 2014-01-20 20:09:32 -08:00
Hackerpilot c01c51a61e Back-end cleanup and optimization in the lexer 2014-01-19 23:13:13 -08:00