Commit Graph

2051 Commits

Author SHA1 Message Date
Sam Harwell 03f8d3772f Fix comparison with IntStream.EOF 2013-02-26 11:09:24 -06:00
Sam Harwell 645f80971f Merge remote-tracking branch 'sharwell/lexer-commands' 2013-02-23 17:59:15 -06:00
Sam Harwell 7018297130 Merge branch 'javatarget' 2013-02-23 17:58:50 -06:00
Sam Harwell 68050dd126 Move Java-specific character escaping code to JavaTarget, make methods in Target abstract 2013-02-23 17:56:54 -06:00
Sam Harwell b4e66f18cd Move Java "bad word" analysis to JavaTarget 2013-02-23 17:55:25 -06:00
Sam Harwell 9e1eed7614 Make Target an abstract base class, with default derived implementation JavaTarget 2013-02-23 17:55:23 -06:00
Sam Harwell b642c72845 Avoid loading the target in the CodeGenerator constructor 2013-02-23 17:55:21 -06:00
Sam Harwell d48ffa1459 Use accessors for fields in Target 2013-02-23 17:55:19 -06:00
Sam Harwell 4d854a521e Move template loading to Target 2013-02-23 17:55:17 -06:00
Sam Harwell 920d5dec8b Separate visibility and "bad word" analysis in Target 2013-02-23 17:55:15 -06:00
Sam Harwell cb298530ba Remove unused Target methods 2013-02-23 17:55:13 -06:00
Sam Harwell 371bcc83b2 Use accessor methods for CodeGenerator.templates and CodeGenerator.target 2013-02-23 17:55:11 -06:00
Sam Harwell 758c5cd37f Use lexer commands instead of actions where available 2013-02-23 16:45:16 -06:00
Terence Parr b372d4d88d add TODOs and fix a -1 to be a constant. 2013-02-23 14:03:20 -08:00
Sam Harwell 18508e2209 Do not allow raw newline characters in lexer string literals 2013-02-22 14:12:04 -06:00
Sam Harwell 1bc4c5e6a4 Do not allow raw newline characters in a lexer char set 2013-02-22 14:12:00 -06:00
Sam Harwell 08386ba2dc Simplify LEXER_CHAR_SET rule 2013-02-22 14:11:58 -06:00
Sam Harwell 53f147bb18 Clarify type widening casts 2013-02-22 14:10:17 -06:00
Sam Harwell bb36baeb21 Add a non-null default source Pair for CommonToken 2013-02-22 14:10:15 -06:00
Sam Harwell 1789e1685b Pair and Triple are immutable, and Triple is not a Pair 2013-02-22 14:09:29 -06:00
Sam Harwell 3d59e47fb4 Remove unnecessary method Utils.replace (already exists as String.replace) 2013-02-22 14:08:51 -06:00
Terence Parr c46bce3251 rm bad comment. 2013-02-18 10:27:58 -08:00
Sam Harwell adf80e166a Fix IntervalSet.add when multiple merges are required 2013-02-05 13:11:49 -06:00
Sam Harwell aae042c6db Additional IntervalSet unit test (catches underlying cause of #153) 2013-02-05 13:09:14 -06:00
Terence Parr 59f7467d68 Merge pull request #151 from metadave/dip_check_args
don't call process() if args aren't specified
2013-01-29 11:18:13 -08:00
Dave Parfitt b2d2ee348a added Dave Parfitt to contributors.txt 2013-01-29 14:14:40 -05:00
Dave Parfitt ee0dc0542a don't call process() if args aren't specified 2013-01-29 11:34:29 -05:00
Terence Parr 2bde37a8f6 Merge pull request #149 from abrown28/master
Removed extraneous spaces from the alias grun command
2013-01-28 12:49:39 -08:00
abrown28 027ebed0af Update README.txt
Removed spaces from the grun alias so copy and paste people will not get an error.
2013-01-25 13:20:29 -06:00
Sam Harwell e1cce61400 Development line is now 4.0.1 2013-01-21 19:20:01 -06:00
Sam Harwell ad9bac9519 Fix diagrams for ATNState documentation 2013-01-21 13:39:53 -06:00
Sam Harwell 6218e7a053 Use a template to fill in the correct version reference 2013-01-21 13:39:51 -06:00
Sam Harwell 79551fd1e0 Fix Maven goal references 2013-01-21 13:39:49 -06:00
Terence Parr 625c504f36 Merge pull request #144 from sharwell/maven-and-javadoc-updates
Maven and javadoc updates
2013-01-21 11:34:01 -08:00
Sam Harwell 678927617e Update CHANGES.txt 2013-01-21 13:15:53 -06:00
Sam Harwell 29495c4a04 Use hard tab in code generation template 2013-01-21 13:13:18 -06:00
Sam Harwell 019cba7c46 Remove unused "true" and "false" templates 2013-01-21 13:13:16 -06:00
Sam Harwell b956a9eda1 Fix incorrect HTML excape in Javadoc code tag 2013-01-21 13:13:14 -06:00
Sam Harwell 0054cc020a Prediction context documentation including graphs 2013-01-21 13:13:12 -06:00
Sam Harwell 2e693dc169 Fix url, specify reporting plugins 2013-01-21 13:13:10 -06:00
Sam Harwell fc9a0fe96b Set inceptionYear, organization, and mailingLists; fix scm url 2013-01-21 13:13:08 -06:00
Sam Harwell 502f0802fa Updated Mojo documentation 2013-01-21 13:13:06 -06:00
Sam Harwell 8e738dad52 Do not require explicit setting of source and output directories 2013-01-21 13:13:04 -06:00
Sam Harwell 087dea5e39 Use project source encoding setting by default 2013-01-21 13:13:02 -06:00
Sam Harwell e5bdcccfc7 Updated Mojo name (antlr4) and default phase (generate-sources) 2013-01-21 13:13:00 -06:00
Terence Parr 21a97e4ead tweak 2013-01-21 11:10:49 -08:00
Terence Parr 9c44939f6a tweak for 4.0 release 2013-01-20 16:51:11 -08:00
Sam Harwell f37d99bc92 Updated error messages and documentation 2013-01-16 13:45:08 -06:00
Sam Harwell a972a4dc24 Add error 148: left recursive rule 'a' contains a left recursive alternative which can be followed by the empty string 2013-01-16 13:23:20 -06:00
Sam Harwell 9ccdca49bb Add error 147: left recursive rule 'a' must contain an alternative which is not left recursive; fixes antlr/antlr4#140 2013-01-16 12:38:55 -06:00