Commit Graph

104 Commits

Author SHA1 Message Date
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
Hackerpilot 24a0c1bc2b Implemented HEREDOC madness 2014-01-17 12:01:32 -08:00
Hackerpilot 281b46eea2 String cache improvements 2014-01-16 18:46:18 -08:00
Hackerpilot a3f9be1e12 Added warning for deprecated alias syntax 2014-01-16 18:44:37 -08:00
Hackerpilot d83518e236 Speed up whitespace handling 2014-01-15 03:31:06 +00:00
Hackerpilot 442001d731 Re-introduce string cache and clean up some code 2014-01-15 02:38:52 +00:00
Hackerpilot c08602e0b7 Added fields needed by DCD 2014-01-14 01:01:06 +00:00
Hackerpilot 3e0a1c8aff added file name field back to lexer config 2014-01-13 23:03:17 +00:00
Hackerpilot c8c3f58867 Added isProtection 2014-01-13 23:00:35 +00:00
Hackerpilot 6f00a166c7 Fix #58 2014-01-13 22:35:27 +00:00
Hackerpilot ccd15bbd2e More lexing dumbness 2014-01-13 22:26:29 +00:00
Hackerpilot f7cc41de05 Fix bad line/column/index numbers for static tokens 2014-01-13 22:21:36 +00:00
Hackerpilot bae501e5b1 Fixed lexing error in floating point literals 2014-01-13 22:17:40 +00:00