Nicolas Cannasse
085f4ec37e
fixed comments parsing was broken by previous fix
2020-04-27 11:19:46 +02:00
Nicolas Cannasse
476c3a9cc9
fixed parser with concat binop/unop such as a<-b or a<++b ( close #92 )
2020-04-26 15:10:00 +02:00
Nicolas Cannasse
013bcfaffb
fixed unicode parsing in strings
2019-12-09 17:34:13 +01:00
Nicolas Cannasse
68f5b26af9
bugfixes for eval ( close #90 )
2019-12-03 14:27:07 +01:00
Nicolas Cannasse
b4d923b74c
fixed without hscriptPos
2019-11-26 18:11:10 +01:00
Nicolas Cannasse
54463b78d2
more resumeErrors parser support, switch to parseString only (fix position with unicode)
2019-11-26 14:32:56 +01:00
Nicolas Cannasse
600aec1f50
stronger parser wrt resumeErrors
2019-11-25 20:32:08 +01:00
Nicolas Cannasse
bcfbe81979
fixed pmin/pmax for resumeErrors
2019-11-20 18:14:02 +01:00
Nicolas Cannasse
f464767ee7
added Parser.resumeError, added Checker.getCompletion
2019-10-20 11:16:23 +02:00
Juraj Kirchheim and Nicolas Cannasse
206959adbd
Support new function type syntax. ( #74 )
2018-09-26 14:06:16 +02:00
ncannasse
27093064a9
added ECheckType, added short lambda parsing
2018-09-18 16:15:15 +02:00
ncannasse
29b61bcee9
fixed invalid char position
2018-09-12 18:00:34 +02:00
Nicolas Cannasse
c124076279
added typedef parsing support
2018-02-04 20:54:08 +01:00
Nicolas Cannasse
0d1d811d2c
use error instead of throw
2018-02-04 12:31:36 +01:00
ncannasse
e2bc716ea7
fix
2017-11-23 15:05:04 +01:00
ncannasse
6c5987f9af
fixed error when no inline triggered
2017-11-23 14:05:12 +01:00
ncannasse
1e79880c72
more conformance to haxe syntax wrt mandatory ;
...
added static and macro accessors
2017-11-23 12:40:50 +01:00
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