Hackerpilot
299969b252
String interning is now shared and nearly lock free
2014-02-26 00:22:01 -08:00
Hackerpilot
552d0bbb07
Solved the mystery of the disappearing doc comments
2014-01-30 20:00:20 -08: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
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
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
281b46eea2
String cache improvements
2014-01-16 18:46:18 -08:00
Hackerpilot
442001d731
Re-introduce string cache and clean up some code
2014-01-15 02:38:52 +00:00
Hackerpilot
0e3adafd48
Added ddoc comment handling
2014-01-13 20:51:42 -08:00
Hackerpilot
22ca0cd284
Added basic style checker
2014-01-12 15:39:45 +00:00
Hackerpilot
070f9ac83b
Finished conversion to new lexer
2014-01-12 02:45:37 +00:00
Hackerpilot
844b626ed5
Fixed lexing/parsing bugs
2014-01-11 17:10:11 +00:00
Hackerpilot
9fbd106af5
Fix unit tests
2014-01-11 15:36:35 -08:00
Hackerpilot
b092840c70
Migrated over to Dmitry's buffer range. Lots of stuff is disabled for now
2014-01-09 01:17:47 +00:00
Hackerpilot
8c4a87f563
Converted everything to the new lexer
2013-12-15 03:02:52 -08:00
Hackerpilot
7f9c0a4fb6
Fixed problem with file name not being sent to the parser
2013-10-11 00:52:24 -07:00
Hackerpilot
be54827b4e
Added outline output
2013-09-10 22:47:58 -07:00
Hackerpilot
001118e730
Fix issue #47 : Input is now read from stdin where it should be. Also made --sloc and --tokenCount work with multiple files and the recursive option
2013-08-25 11:14:29 +00:00
Hackerpilot
270cd6d9a1
Some parser fixes for DCD
2013-08-16 23:48:51 +00:00
Hackerpilot
1d92494f45
Fixed indentation
2013-08-07 01:41:56 +00:00
Hackerpilot
1a70b23988
Improved parser error recovery so that it's more useful in DCD
2013-08-07 01:40:05 +00:00
Nick Sabalausky
bd225ba085
Rename 'std.d.*' to 'stdx.d.*' so RDMD can correctly compile Dscanner.
2013-08-01 23:43:02 -04:00
Nick Sabalausky
b8e31c0bbb
Fixed for 32-bit.
2013-08-01 22:10:55 -04:00
Hackerpilot
86b552b312
Merged the range-based-lexer branch
2013-07-27 15:12:04 +00:00
Hackerpilot
e09051cf1d
Added a README. Enhanced CTAGS
2013-07-27 14:49:48 +00:00
Hackerpilot
fe1bdef759
CTAGS and AST printing
2013-07-26 23:34:56 -07:00
Justin Whear
91c8be08b5
cleanup
2013-07-26 13:32:14 -07:00
Justin Whear
4f32e16e2b
Fix recursive Ctags output
...
Previously using `dscanner --ctags -R <dir>` would output tags without
any filenames, making it pretty useless for navigating in a project.
This was due to all the syntax objects being merged into a single generic
Module, then outputting that module without a filename specified.
This fix does the following:
* Moves the CTag header output from the Module class to the proper spot in
main.d
* Renames `Module.writeCtagsTo` to `getCtags` and now returns string[]
with the prepared tag lines.
* The CTag printing functionality in main.d now gathers all tag lines
from each module, sorts, then outputs.
Note that a more optimal implementation would be fairly straightforward.
Instead of simply returning a string[], `Module.toCtags` could take a
sorted container and insert in sorted order. main.d could pass this
container to each module in turn, then output the results.
2013-07-26 13:05:17 -07:00
Hackerpilot
1aec76fdea
Added basic XML output
2013-07-23 01:46:08 +00:00
Hackerpilot
6e5742167a
More work on the dscanner / dcd split
2013-07-17 00:01:54 -07:00
Hackerpilot
9015d47ca8
Moving auto-completion to DCD
2013-07-15 13:02:23 -07:00
Hackerpilot
7ceebb28a3
Basic CTags support based on the AST classes
2013-07-15 02:52:50 +00:00
Hackerpilot
a2e0a3bfe2
More progress on the AST clasess.
2013-05-19 12:26:34 -07:00
Hackerpilot
3c8b5c4bc4
fix compile errors by COMMENTING OUT EVERYTHING
2013-03-04 02:01:27 +00:00
Hackerpilot
c867b86598
More work on core features
2013-03-03 23:50:52 +00:00
Hackerpilot
a9519afee4
refactoring
2013-03-02 15:06:33 +00:00
Hackerpilot
c843b0ff73
Accidentally a variable...
2013-02-22 13:31:21 -08:00
Hackerpilot
d637e533bc
Merged
2013-02-22 13:28:40 -08:00
Hackerpilot
12369feea7
Updated documentation and command line options based on things I'd like to eventually implement
2013-02-22 13:25:22 -08:00
Dmitry Olshansky
0c97b2f573
Redo hash table to avoid array append & GC lock/unlock
...
Also save hash to speed up in case of collisions & allow future re-hashing.
2013-02-23 00:50:37 +04:00
Dmitry Olshansky
e4baf99ca4
avoid creating html-entity AA at start-up - 10% speed up(!)
...
This is not even remotely funny creating this huge AA
at run-time took around 10% of the whole time to lex std.datetime
2013-02-23 00:00:19 +04:00
Hackerpilot
119c6b917d
code cleanup
2013-02-20 22:36:55 -08:00
Hackerpilot
9942ebcf5b
More optimizations
2013-02-05 21:45:31 -08:00
Hackerpilot
5a6477f2ee
More faster-er.
2013-02-04 16:34:58 -08:00
Hackerpilot
4adaae9e06
Better performance
2013-02-03 01:32:16 +00:00
Hackerpilot
9e0c334276
Massive code refactoring.
2013-02-02 20:13:19 +00:00
Hackerpilot
fe7a6bf4b0
Following Phobos style guide more closely
2013-02-01 22:19:40 -08:00
Hackerpilot
bd4f5cd85a
Do not allocate when lexing keywords and operators
2013-02-01 01:42:20 -08:00