Commit Graph

89 Commits

Author SHA1 Message Date
Hackerpilot f2d121b71f Implement check for logical or and logical and operands 2014-08-13 14:37:35 -07:00
Hackerpilot 31e9c74b2a Update my super-secret identity 2014-07-24 18:17:43 -07:00
Hackerpilot 3872490236 Added a mkdir command to the default config file writer 2014-07-08 15:33:32 -07:00
Hackerpilot 53cff7824e Fix #129 2014-07-08 15:00:00 -07:00
sinkuu 613f2027c7 Fix crash with empty file 2014-06-28 17:10:23 +09:00
Hackerpilot 84a0e706c2 Project restructuring 2014-06-25 19:03:57 -07:00
Hackerpilot b29a7d8994 Use better lexing behavior for sloc and tokenCount options 2014-06-09 16:21:02 -07:00
Hackerpilot db84119e33 Handle Unicode byte order marks 2014-05-19 13:40:35 -07:00
Hackerpilot 19dc7c707f Attempt to fix some issues with string interning 2014-05-18 08:13:23 +00:00
Matthew Brennan Jones 8231a0d1b8 Added basic unit tests to some analyzers. 2014-05-16 18:47:13 -07:00
Hackerpilot 87732c6657 Added unused variable check, and then used it to remove some unused variables 2014-05-10 02:56:01 -07:00
Hackerpilot 3081fa86c2 Fix highlighting of special token sequences and script lines 2014-05-06 16:41:19 -07:00
Hackerpilot 8954fff8e4 Fixed decimal lexing and renamed stdx to std 2014-04-23 14:26:37 -07:00
Hackerpilot 335c445912 Fix #149 2014-03-19 14:43:02 -07:00
Hackerpilot 77d12c769e Fix #148 2014-03-19 12:56:19 -07:00
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