ncannasse
f62d891c63
reduce OpNeg(CInt/CFloat) to negative Int/Float like haxe parser does
2017-11-23 12:17:23 +01:00
ncannasse
930cb8853c
don't reset line + preprocessor fix
2017-11-23 11:34:44 +01:00
ncannasse
22104ff64e
fixed preprocessor bug
2017-11-22 18:41:32 +01:00
ncannasse
17564441b5
added #if/#else support
...
added function arg default value expr (only if allowTypes, not supported by interp)
allowed local "inline function"
added parseModule
added exponent support in floats (1.5e-3)
2017-11-22 17:30:16 +01:00
Nicolas Cannasse
139c360feb
fixed parsing of @meta {}
2017-08-11 16:13:44 +02:00
Nicolas Cannasse
9eaddcdafb
license changed to MIT ( close #67 )
2017-08-10 16:56:31 +02:00
Nicolas Cannasse
7ca5b85051
added optional metadata support in toplevel expr and anon types
2017-07-18 17:28:15 +02:00
Tom Coxon and Nicolas Cannasse
51506e0400
Add filename / line number error reporting with -D hscriptPos ( #57 )
2017-01-02 17:48:48 +01:00
Pavel Alexandrov and Nicolas Cannasse
aa16393c1b
Add do ... while support. ( #51 )
...
Add `do ... while` support.
2016-10-03 12:24:53 +02:00
romamik and Nicolas Cannasse
a1af1ec29e
Added Map support ( #49 )
...
Map support
2016-09-28 13:04:18 +02:00
Nicolas Cannasse
98c08becd6
fixes for -D hscriptPos
2016-04-03 20:09:39 +02:00
Simon Krajewski
bd8c016bba
avoid throw Void
2016-03-26 11:39:26 +01:00
Simon Krajewski
1f0567d34a
never mind (3.2.1 compatibility)
2016-01-14 11:56:55 +01:00
Simon Krajewski
7376be0459
remove unreachable code
2016-01-14 11:37:53 +01:00
Nicolas Cannasse
db4976d89a
fix *=- ( close #35 )
2015-09-03 21:01:52 +02:00
Nicolas Cannasse
023b7349f8
allowed /**/ comment ( close #34 )
2015-09-01 23:46:25 +02:00
Nicolas Cannasse
65fa2d2175
fixed =/== and >= handling in parser ( close #33 )
2015-09-01 23:34:10 +02:00
Nicolas Cannasse
140ed7788d
fixed catch( e : Dynamic ) { } ( close #32 )
2015-07-23 22:26:54 +02:00
Zjnue Brzavi
287ff751cf
ensure if cond expr is surrounded by brackets
2015-01-12 20:51:23 +01:00
Nicolas Cannasse
161587768d
close #23
2014-11-29 11:17:04 +01:00
Nicolas Cannasse
b884961431
added array comprehension support
2014-10-01 18:52:19 +02:00
Nicolas Cannasse
1010329582
fixed switch default
2014-09-15 12:21:20 +02:00
Nicolas Cannasse
10d64945d5
fixed ESwitch parsing : allow several expressions in case/default block
2014-09-15 11:56:08 +02:00
Nicolas Cannasse
d7df81b9ae
added optional parameters support
2014-09-11 18:13:38 +02:00
Nicolas Cannasse
9368695d03
fixed switch parsing
2014-09-11 17:34:47 +02:00
Nicolas Cannasse
8d35e2ff8c
added TSwitch support
2014-09-11 17:13:31 +02:00
zjnue
246aaaddc4
minor haxe2 fix
2013-06-13 19:47:19 +02:00
Nicolas Cannasse
00f4dcbb57
haxe 3.0 compat
2013-02-24 17:03:22 +00:00
Nicolas Cannasse
ca701335b4
haxe3 support
2012-10-22 11:01:06 +00:00
Nicolas Cannasse
545551f2df
fixed two issues with genas3
2012-05-24 09:50:33 +00:00
Nicolas Cannasse
c425e73e90
fixed issue #9 (occurred with --no-inline)
2012-05-24 09:44:35 +00:00
Nicolas Cannasse
9b945ef299
fix
2012-03-19 14:54:14 +00:00
Nicolas Cannasse
676d636ce7
fixed exp overflow with constant floats and a lot of numbers after dot
2012-02-16 16:18:16 +00:00
Nicolas Cannasse
0fee5a1a74
fix
2011-03-29 20:23:03 +00:00
Nicolas Cannasse
a30c33cdc4
added ETernary, fixed operand priority to match haXe one
2011-03-29 20:19:43 +00:00
Nicolas Cannasse
f86ed1da3e
bugfix
2011-03-22 10:27:05 +00:00
Nicolas Cannasse
758039e817
trace removed
2011-03-19 17:54:30 +00:00
Nicolas Cannasse
46f157bb39
added -D hscriptPos support, added Macro to convert hscript expr to haxe.macro.Expr
2011-03-19 17:52:46 +00:00
Nicolas Cannasse
78a18acf07
added possible type declarations (with Parser.allowTypes)
2011-03-19 11:27:15 +00:00
Nicolas Cannasse
a6038e7474
fixed issue #2
2011-02-24 06:58:00 +00:00
Nicolas Cannasse
88371134be
fix for js/flash9
2010-09-12 18:14:24 +00:00
Nicolas Cannasse
b34d6e2ae8
added JSON string-as-object-key support
...
allowed \/ escape sequence (json mode)
added \u unicode escape sequence (json mode)
use CFloat when digital constant overflow
2010-09-09 12:56:40 +00:00
Nicolas Cannasse
236e41a9bd
added utf8 strings support
2010-07-13 08:31:58 +00:00
Nicolas Cannasse
606a554d85
allow comma at end of last array element
2010-06-21 16:38:30 +00:00
Nicolas Cannasse
8c40c20aae
allow last comma before anonymous object end
2010-06-15 10:57:49 +00:00
Nicolas Cannasse
c33367ba6d
added anonymous object support
2010-06-15 10:54:21 +00:00
Nicolas Cannasse
c381a758a8
added int32 support
2009-01-08 10:41:18 +00:00
Nicolas Cannasse
cb0182f612
fixed unop issues
2008-12-24 12:18:54 +00:00
Nicolas Cannasse
05edd05f7a
added ~ unary operator
2008-09-24 15:18:17 +00:00
Nicolas Cannasse
e1f6bad13d
allow .154 and fixed bug in makeBinop
2008-09-12 17:11:05 +00:00