Commit Graph

313 Commits

Author SHA1 Message Date
Hackerpilot 1b5be72c3d Merge pull request #45 from John-Colvin/patch-1
corrected templateDeclaration closing tag
2013-08-09 16:06:13 -07:00
John Colvin aad6f7d1f6 corrected templateDeclaration closing tag 2013-08-09 23:52:27 +01:00
Hackerpilot 3e3052bd81 Updated command line switch 2013-08-08 02:41:25 +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
Hackerpilot abc861a2fe Updated readme to match new folder structure 2013-08-01 21:01:00 +00:00
Hackerpilot 28e43e21b3 Fixed dumb error with comment characters 2013-08-01 20:56:01 +00:00
Hackerpilot ad89cc9872 Merge pull request #44 from Abscissa/fix-rdmd
Rename 'std.d.*' to 'stdx.d.*' so RDMD can correctly compile Dscanner.
2013-08-01 20:48:06 -07:00
Nick Sabalausky bd225ba085 Rename 'std.d.*' to 'stdx.d.*' so RDMD can correctly compile Dscanner. 2013-08-01 23:43:02 -04:00
Hackerpilot 83fd2457d2 Merge pull request #42 from Abscissa/fix32bit
Fixed for 32-bit.
2013-08-01 19:33:01 -07:00
Nick Sabalausky b8e31c0bbb Fixed for 32-bit. 2013-08-01 22:10:55 -04:00
Hackerpilot 757c4dbb2d Fixed indentation 2013-07-31 23:05:47 +00:00
Hackerpilot c0994dc792 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2013-07-31 23:03:59 +00:00
Hackerpilot 1113da05d8 Forgot to output struct declarations in ctags 2013-07-31 23:03:48 +00:00
Hackerpilot 0a07ae5862 Fixes issue #41 2013-07-29 13:34:34 -07:00
Hackerpilot ae0299c38d Documented syntax checker 2013-07-27 15:21:30 +00:00
Hackerpilot 86b552b312 Merged the range-based-lexer branch 2013-07-27 15:12:04 +00:00
Hackerpilot 11fbe87b64 Forgot to document syntax highlighting 2013-07-27 14:55:12 +00:00
Hackerpilot 35665966fa License headers 2013-07-27 14:52:27 +00:00
Hackerpilot e09051cf1d Added a README. Enhanced CTAGS 2013-07-27 14:49:48 +00:00
Hackerpilot 44b7e7958e XML escape instead of CDATA 2013-07-27 13:45:46 +00:00
Hackerpilot 36d397ac68 AST dump complete\! 2013-07-27 13:33:15 +00:00
Hackerpilot c7424faf56 More AST classes can be printed as XML 2013-07-27 03:12:36 +00:00
Hackerpilot 4a9c8699a5 Closer to having the AST classes completed 2013-07-27 03:12:14 +00:00
Hackerpilot 830bd82ae3 Fixed compile error 2013-07-26 23:44:34 +00:00
Hackerpilot fe1bdef759 CTAGS and AST printing 2013-07-26 23:34:56 -07:00
Hackerpilot 1dd2baf722 Merge pull request #40 from jwhear/master
Fix recursive Ctags
2013-07-26 14:44:33 -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 722f38dd68 Fixed issue #39 2013-07-26 10:31:55 -07:00
Hackerpilot 1aec76fdea Added basic XML output 2013-07-23 01:46:08 +00:00
Hackerpilot a5fd3efdb8 Fixed bad ctags output 2013-07-22 01:41:12 +00:00
Hackerpilot 786d9f2ba6 DDoc cleanup. Implemented a few accept methods on the AST classes 2013-07-19 01:36:37 +00:00
Hackerpilot 2ed0186eaa Added location information to block statement and struct body 2013-07-18 23:56:43 -07:00
Hackerpilot 6e5742167a More work on the dscanner / dcd split 2013-07-17 00:01:54 -07:00
Hackerpilot c83bb59a75 Don't need msgpack in this project anymore 2013-07-15 16:47:13 -07:00
Hackerpilot 9015d47ca8 Moving auto-completion to DCD 2013-07-15 13:02:23 -07:00
Hackerpilot db978177d3 Merge branch 'range-based-lexer' of https://github.com/Hackerpilot/Dscanner into range-based-lexer 2013-07-15 12:55:58 -07:00
Hackerpilot 62b102444e Auto-completion is being moved to the DCD project 2013-07-15 12:50:17 -07:00
Hackerpilot 7ceebb28a3 Basic CTags support based on the AST classes 2013-07-15 02:52:50 +00:00
Hackerpilot eecb4f1e7d I've got a fever and the only cure is more const 2013-07-12 15:31:34 -07:00
Hackerpilot dfd2ab4289 Merge branch 'range-based-lexer' of https://github.com/Hackerpilot/Dscanner into range-based-lexer 2013-07-12 16:17:19 +00:00
Hackerpilot 50ddf8abf8 Fixed an index out of bounds bug. Updated ddoc 2013-07-12 16:17:14 +00:00
Hackerpilot e91316cc9a Optimizes expression parsing. Can now parse phobos 2013-07-11 01:23:40 -07:00
Hackerpilot 9e63e396a4 Fixed lexing of integer dot identifier 2013-07-11 01:22:37 -07:00
Hackerpilot 3f0994c4d2 Getting closer 2013-07-07 22:20:41 -07:00
Hackerpilot 3acdffdc6b Now handles all but 11 files 2013-07-05 04:08:53 +00:00
Hackerpilot 4edd57eb12 Merged 2013-07-04 22:23:04 +00:00
Hackerpilot 0dce698fc3 Fixed another bug 2013-07-04 16:13:09 -07:00
Hackerpilot 8492a39b09 36/57 files in Phobos parse. 2013-07-03 14:26:14 -07:00