Commit Graph

594 Commits

Author SHA1 Message Date
Sam Harwell f321fefeb5 Updated code generation templates for the 4.2 release 2014-02-18 10:03:19 -06:00
Sam Harwell 424787bf43 Merge branch 'sharpen' 2014-02-18 09:50:36 -06:00
Sam Harwell c15992da79 Re-translate source with updated configuration 2014-02-18 09:48:56 -06:00
Sam Harwell d457eb9335 Updated pom.xml to use newer dependency versions 2014-02-18 09:40:32 -06:00
Sam Harwell d23042d0a1 Updated build script 2014-02-18 09:40:27 -06:00
Sam Harwell dfbf806c4d Updated test projects to use the latest NuGet package for code generation 2014-02-18 09:40:26 -06:00
Sam Harwell 5b3e585183 Updated build task to use the latest version of the tool 2014-02-18 09:40:20 -06:00
Sam Harwell e926e5e42f Fix output folders for portable framework release 2014-02-18 06:51:00 -06:00
Sam Harwell fe482cdc4d Merge branch 'sharpen' 2014-02-17 16:35:27 -06:00
Sam Harwell cb8124c929 Update to the reference build of Sharpen 2014-02-17 16:34:25 -06:00
Sam Harwell 3ad2554087 Updated assembly versions 2014-02-16 21:54:39 -06:00
Sam Harwell b9745beaac Updated installation instructions in Readme.md 2014-02-16 21:50:14 -06:00
Sam Harwell 9d73c12b30 Enable NuGet package restore 2014-02-16 21:45:32 -06:00
Sam Harwell 593275784b Fix build errors produced by the latest Sharpen-generated code 2014-02-16 21:24:24 -06:00
Sam Harwell 61ecdf7289 Merge branch 'sharpen' 2014-02-16 15:38:23 -06:00
Sam Harwell 94ad1d162d Merge branch 'sharpen' 2014-02-16 15:25:16 -06:00
Sam Harwell 082f0bbfad Merge branch 'sharpen' 2014-02-16 15:03:32 -06:00
Sam Harwell 5b9c45fb30 Update to the latest release of ANTLR 4 2014-02-16 14:51:37 -06:00
Sam Harwell 828f0639a7 Set wrapping width to 1000 2014-02-16 13:33:54 -06:00
Sam Harwell bf070cf58f Updated working build of Sharpen 2014-02-16 13:31:35 -06:00
Sam Harwell c0aa59cbee Generate code with correct token names when the predefined `EOF` token is referenced in the grammar 2013-09-15 13:11:53 -05:00
Sam Harwell a16bd6067c Generate code with correct channel identifiers when `HIDDEN` or `DEFAULT_TOKEN_CHANNEL` is used in the `channel` lexer command 2013-09-15 13:11:52 -05:00
Sam Harwell bb6f6fc026 Generate code with `DefaultMode` when a grammar contains `DEFAULT_MODE` in a `mode` or `pushMode` lexer command 2013-09-15 13:11:47 -05:00
Sam Harwell 2ac3c96464 Use TextReader instead of StreamReader where possible 2013-09-15 11:46:28 -05:00
Kazunori Sakamoto 3db39af8b2 Change AntlrInputStream to use TextReader instead of StreamReader. 2013-09-15 17:37:44 +09:00
Sam Harwell 9918154f34 Fix the case of two files' names 2013-08-28 19:10:11 -05:00
Sam Harwell ac626b02a1 Merge pull request #22 from rharrisxtheta/antlr-patchset-1
Small patches for minor compile issues in CSharp.stg
2013-08-28 17:06:23 -07:00
Ryan Harris d1b1bb0c02 Disable compiler warnings that are irrelevant for generated code.
These warnings are turned off:
CS0162:  Unreachable code detected
CS0219:  The variable '...' is assigned but its value is never used
CS1591:  Missing XML comment for publicly visible type or member '...'
2013-08-27 10:24:58 -04:00
Ryan Harris 8897097b95 Tag generated classes as non CLS compliant. 2013-08-26 16:45:05 -04:00
Sam Harwell d27cd5f634 Build separate NuGet packages for the tool and the runtime (allows separation of VS2008 and VS2010+ features) 2013-08-05 22:41:32 -05:00
Sam Harwell 4de1e1b82b Fix code generation for additional elements that match C# keywords 2013-08-05 21:46:14 -05:00
Sam Harwell 27c3e35cfd Forgot to escape bracket in subtemplate 2013-08-05 21:10:56 -05:00
Sam Harwell f4f905ea0e Fix code generation when a rule or grammar name matches a C# keyword (fixes #4) 2013-08-05 21:10:39 -05:00
Sam Harwell 1e4a53919f Add generated code file headers and [GeneratedCode] attributes (fixes #11) 2013-08-05 20:39:47 -05:00
Sam Harwell b9d3a129ad Fix build error in referenced project 2013-08-05 20:38:52 -05:00
Sam Harwell 4f043c87c7 Updated CSharp.stg to match changes in Java.stg 2013-08-05 20:38:04 -05:00
Sam Harwell 66c64be11b Add additional logging for exceptional situations 2013-08-05 19:38:21 -05:00
Sam Harwell 1fc1f5dda7 Fix Guid deserialization 2013-08-05 19:37:53 -05:00
Sam Harwell c9a02cd707 Fix behavior when spaces are in the path (fixes #6) 2013-08-05 19:37:39 -05:00
Sam Harwell a2a1eef6c3 Updated several documentation comments 2013-08-04 22:36:11 -05:00
Sam Harwell 9c20726f0a Allow spaces in the project path (fixes #6) 2013-08-04 22:23:15 -05:00
Sam Harwell 81459fb10c Simplify and fix bugs in ANTLRInputStream 2013-08-04 22:16:06 -05:00
Sam Harwell a4e5bfbae9 Fix build errors 2013-08-04 22:01:15 -05:00
Sam Harwell 8111fa5872 Merge branch 'sharpen' 2013-08-04 21:37:35 -05:00
Sam Harwell fcf2482ab3 Sharpen can ignore JFileChooserConfirmOverwrite 2013-08-04 21:13:35 -05:00
Sam Harwell f74aabfac8 Updated to match ANTLR 4.1 release 2013-08-04 21:12:02 -05:00
Sam Harwell 6736b3f900 Added NuGet support 2013-08-04 16:36:34 -05:00
Sam Harwell 880bc161a2 Updated Maven references in pom.xml 2013-08-04 16:24:23 -05:00
Sam Harwell 5070954050 Updated pom.xml - now working on the 4.1 release 2013-08-04 16:24:05 -05:00
Sam Harwell e48e2d7436 Add LICENSE.txt to repository 2013-08-04 16:23:06 -05:00