John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								8aadd38071
								
							
								
							
						 | 
						
							
							
								
								peg.javascript.tokenizer: rename escape rules slightly.
							
							
							
							
							
						 | 
						
							2016-06-12 06:52:23 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								e7fa92baac
								
							
								
							
						 | 
						
							
							
								
								peg.javascript.tokenizer: support hex and unicode escapes.
							
							
							
							
							
						 | 
						
							2016-06-12 06:41:59 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								29a2a25954
								
							
								
							
						 | 
						
							
							
								
								peg.javascript: add some other escapes since we're doing this.  :-)
							
							
							
							
							
						 | 
						
							2016-06-11 15:22:20 -07:00 | 
						
					
				
					
						
							
							
								 
								catb0t
							
						 | 
						
							
							
							
							
								
							
								385cf35e7f
								
							
								
							
						 | 
						
							
							
								
								peg.javascript.tokenizer: allow escaped quotes in strings
							
							
							
							
							
							
							
							Previously, the tokenizer didn't understand
escaped quotes in string literals. Also added was
a test to ensure the escaping works. 
							
						 | 
						
							2016-06-11 15:17:50 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								59caf874a3
								
							
								
							
						 | 
						
							
							
								
								syntax: removing #! as a comment character.
							
							
							
							
							
							
							
							We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid. 
							
						 | 
						
							2015-09-09 18:28:08 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								1fcf96cada
								
							
								
							
						 | 
						
							
							
								
								factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
							
							
							
							
							
						 | 
						
							2015-07-25 22:59:56 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								9fb130791b
								
							
								
							
						 | 
						
							
							
								
								factor: trim more whitespace from #! comments
							
							
							
							
							
						 | 
						
							2015-07-18 20:36:42 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								4ec2311406
								
							
								
							
						 | 
						
							
							
								
								factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
							
							
							
							
							
						 | 
						
							2015-07-18 20:14:22 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								cd6ccdadc3
								
							
								
							
						 | 
						
							
							
								
								peg: use escaped character classes.
							
							
							
							
							
						 | 
						
							2015-07-16 08:44:59 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								999aa7c897
								
							
								
							
						 | 
						
							
							
								
								factor: clean up spaces in -tests files
							
							
							
							
							
						 | 
						
							2015-07-02 10:34:01 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								352e5de16a
								
							
								
							
						 | 
						
							
							
								
								core, basis, extra: Remove DOS line endings from files.
							
							
							
							
							
							
							
							Remove whitespace from end of lines.
Add a newline to the end of each file. 
							
						 | 
						
							2015-06-29 17:25:40 -07:00 | 
						
					
				
					
						
							
							
								 
								Benjamin Pollack
							
						 | 
						
							
							
							
							
								
							
								2c3dd8c3c8
								
							
								
							
						 | 
						
							
							
								
								Remove executable bit from tons of files that aren't
							
							
							
							
							
						 | 
						
							2014-11-05 20:40:42 -08:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								02ac0662e7
								
							
								
							
						 | 
						
							
							
								
								more doc type fixes.
							
							
							
							
							
						 | 
						
							2014-05-24 17:16:26 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								c8732657b7
								
							
								
							
						 | 
						
							
							
								
								Cleanup more lint warnings.
							
							
							
							
							
						 | 
						
							2011-10-16 13:01:58 -07:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								b6a0324be6
								
							
								
							
						 | 
						
							
							
								
								peg: fix unit test failures
							
							
							
							
							
						 | 
						
							2009-10-19 06:01:20 -05:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								eceed177d6
								
							
								
							
						 | 
						
							
							
								
								replace usages of <" with """
							
							
							
							
							
						 | 
						
							2009-09-20 22:42:40 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								b62630b5ac
								
							
								
							
						 | 
						
							
							
								
								Updating code in basis and extra for stricter vocab search path semantics
							
							
							
							
							
						 | 
						
							2009-05-14 23:23:06 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								05f3f9dcb9
								
							
								
							
						 | 
						
							
							
								
								Fixing unit tests for stack effect inference changes
							
							
							
							
							
						 | 
						
							2009-04-20 21:15:19 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								6b25e99470
								
							
								
							
						 | 
						
							
							
								
								Add summary for heaps more vocabs
							
							
							
							
							
						 | 
						
							2009-02-16 21:05:13 -06:00 | 
						
					
				
					
						
							
							
								 
								U-SLAVA-DFB8FF805\Slava
							
						 | 
						
							
							
							
							
								
							
								0eee4f89d4
								
							
								
							
						 | 
						
							
							
								
								Mess around with tags
							
							
							
							
							
						 | 
						
							2008-11-17 06:59:17 -06:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								736974fe15
								
							
								
							
						 | 
						
							
							
								
								Fix PEG tests for multiline changes
							
							
							
							
							
						 | 
						
							2008-09-25 03:37:48 -05:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								f3145c5961
								
							
								
							
						 | 
						
							
							
								
								[EBNF and EBNF: now return ast
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								c8511b483f
								
							
								
							
						 | 
						
							
							
								
								Add support for 'with' in js parser. Now parses jquery successfully
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								8f718fa41e
								
							
								
							
						 | 
						
							
							
								
								Parse more valid JavaScript
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								87bbe8cae1
								
							
								
							
						 | 
						
							
							
								
								Get for(x in y) { } working in js parser
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								bf664e7ec8
								
							
								
							
						 | 
						
							
							
								
								Add ShiftExpr to JavaScript parser
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								7404c5dc01
								
							
								
							
						 | 
						
							
							
								
								Add ShiftExpr to JavaScript parser
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								4394cb08f6
								
							
								
							
						 | 
						
							
							
								
								RegExp fix for javascript tokenizer
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								acb6d3a312
								
							
								
							
						 | 
						
							
							
								
								Fix peg.ebnf tests. Handle \ in EBNF
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								cf00bc8a0c
								
							
								
							
						 | 
						
							
							
								
								Add flags to regexp tokenizer in JavaScript
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								9c96edb805
								
							
								
							
						 | 
						
							
							
								
								Fix 'For' statement in JavaScript parser
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:06 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								37ade561a9
								
							
								
							
						 | 
						
							
							
								
								Fix unary expression in js grammar
							
							
							
							
							
						 | 
						
							2008-07-10 13:56:05 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								75814c35f4
								
							
								
							
						 | 
						
							
							
								
								Fix MulExpr to use Unary on rhs
							
							
							
							
							
						 | 
						
							2008-06-24 10:50:41 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								f0a1f8fe5f
								
							
								
							
						 | 
						
							
							
								
								Fix JavaScript new expression
							
							
							
							
							
						 | 
						
							2008-06-21 16:56:21 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								a15783cabb
								
							
								
							
						 | 
						
							
							
								
								Fix typo in != in JavaScript parser
							
							
							
							
							
						 | 
						
							2008-06-21 10:32:15 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								c5a9ee0e16
								
							
								
							
						 | 
						
							
							
								
								Add typeof, void and delete to JavaScript grammar
							
							
							
							
							
						 | 
						
							2008-06-21 02:40:08 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								8fa0c80d4e
								
							
								
							
						 | 
						
							
							
								
								Add regular expressions to JavaScript parser
							
							
							
							
							
						 | 
						
							2008-06-21 02:29:47 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								e8f9904549
								
							
								
							
						 | 
						
							
							
								
								Add \r to the JavaScript automatic semicolon insertion routine
							
							
							
							
							
						 | 
						
							2008-06-21 02:21:54 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								4a47346bda
								
							
								
							
						 | 
						
							
							
								
								Fix parse-javascript word for recent changes
							
							
							
							
							
						 | 
						
							2008-06-21 02:09:46 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								ff8e521907
								
							
								
							
						 | 
						
							
							
								
								Fix automatic semicolon insertion rule in JavaScript parser
							
							
							
							
							
						 | 
						
							2008-06-21 02:06:58 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								6b83ab9d90
								
							
								
							
						 | 
						
							
							
								
								Fix terminal parser with non-default tokenizers
							
							
							
							
							
						 | 
						
							2008-06-21 01:49:07 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								5433553571
								
							
								
							
						 | 
						
							
							
								
								Remove EBNF: and [EBNF EBNF] +tokenizer syntax
							
							
							
							
							
							
							
							replaced with tokenizer support in ebnf grammar itself. 
							
						 | 
						
							2008-06-21 01:00:27 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								b6b5f12732
								
							
								
							
						 | 
						
							
							
								
								Provide ability to plug in tokenizers to ebnf parsers
							
							
							
							
							
						 | 
						
							2008-06-20 22:45:19 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								2b2ede0a89
								
							
								
							
						 | 
						
							
							
								
								Add a javascript sc test
							
							
							
							
							
						 | 
						
							2008-06-19 01:45:09 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								d5e5e47944
								
							
								
							
						 | 
						
							
							
								
								Fix bug in javascript automatic semicolon insertion rule
							
							
							
							
							
						 | 
						
							2008-06-19 01:39:51 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								d58a085598
								
							
								
							
						 | 
						
							
							
								
								Add additional javascript test
							
							
							
							
							
						 | 
						
							2008-06-19 01:24:17 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								fcd1e39834
								
							
								
							
						 | 
						
							
							
								
								More JavaScript fixes for keyword handling
							
							
							
							
							
						 | 
						
							2008-06-19 01:20:33 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								c26d87e117
								
							
								
							
						 | 
						
							
							
								
								Fix handling of JavasScript names which partially match reserved words
							
							
							
							
							
						 | 
						
							2008-06-19 01:01:46 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								fc7baebacb
								
							
								
							
						 | 
						
							
							
								
								Fix handling of _ and $ in Javascript names
							
							
							
							
							
						 | 
						
							2008-06-19 00:51:47 +12:00 | 
						
					
				
					
						
							
							
								 
								Chris Double
							
						 | 
						
							
							
							
							
								
							
								6f8e2a4b0d
								
							
								
							
						 | 
						
							
							
								
								Refactor JavaScript parser
							
							
							
							
							
						 | 
						
							2008-06-19 00:42:11 +12:00 |