Commit Graph

132 Commits

Author SHA1 Message Date
Callum Anderson 0873c7b684 Hook manual memory management 2014-03-06 14:43:06 +11:00
Callum Anderson db71af8ddb Allow member func attrs after postblit 2014-03-06 10:29:29 +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 1536ed722b Merge branch 'master' of https://github.com/Hackerpilot/Dscanner
Conflicts:
	stdx/lexer.d
2014-03-03 23:11:41 -08:00
Hackerpilot 3a10d4bb72 Improve error handling for string interning 2014-03-03 22:28: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 6b6d3dadc2 Enhanced string intern API 2014-02-28 15:05:35 -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 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