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
ncannasse
a9140a4403
bugfix haxe 4
2017-11-21 17:16:30 +01:00
ncannasse
ce47ca0a8a
fixed break & continue in sync-optimized expression
2017-11-21 15:55:38 +01:00
Alexander Kuzmenko and Nicolas Cannasse
852fee170e
[php] don't expect iterator to have iterator field ( fixes #69 ) ( #71 )
...
* [php] don't expect IntIterator to have a field which does not exist (fixes #69 )
* cleanup
* fix Interp.makeIterator for Haxe 3.4
2017-10-03 09:46:14 +02:00
Nicolas Cannasse
7209aa8880
fixed @async in @sync, added scriptCall special API
2017-08-18 16:44:32 +02:00
Andy Li
1a4a1217ae
haxe 3.2.1 compatibility
2017-08-17 10:35:30 +08:00
Nicolas Cannasse
139c360feb
fixed parsing of @meta {}
2017-08-11 16:13:44 +02:00
Nicolas Cannasse
be1afbdb5c
fixes
2017-08-11 12:03:44 +02:00
Nicolas Cannasse
8a7e8c8d7d
changed @async and @split
2017-08-11 12:03:35 +02:00
Nicolas Cannasse
931f79dacb
move error formating to Printer
2017-08-11 11:03:29 +02:00
Nicolas Cannasse
261e6ee78e
bug fixes
2017-08-11 11:03:06 +02:00
Nicolas Cannasse
9eaddcdafb
license changed to MIT ( close #67 )
2017-08-10 16:56:31 +02:00
Nicolas Cannasse
bbaacd5d28
added Async
2017-08-10 16:31:10 +02:00
Nicolas Cannasse
60ed5fdfe2
added missing EMeta
2017-08-10 16:04:55 +02:00
Nicolas Cannasse
512f88c63e
added EMeta support
2017-08-10 15:12:59 +02:00
Nicolas Cannasse
50c01b2cfb
haxe 4 fixes
2017-08-10 15:05:38 +02:00
Nicolas Cannasse
27d3f889b5
fixed missing meta in TAnonymous
2017-07-20 11:39:24 +02:00
Nicolas Cannasse
1425479569
fixed missing EMeta support
2017-07-19 21:19:20 +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
Andy Li
40f66f2232
workaround php issue
...
see https://github.com/HaxeFoundation/haxe/issues/4915
2016-03-09 15:48:57 +08:00
Nicolas Cannasse
98184bf9bf
use property access ( close #10 )
2016-01-29 13:58:07 +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
Nick
24c9a0eb04
Fix EBlock issue in expr()
...
declared was uninitialized if you didn't call execute before expr.
2015-11-06 22:14:02 -05: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
Nicolas Cannasse
0f0015ba44
added ESwitch support in Macro ( close #29 )
2015-05-20 20:08:44 +02:00
Nicolas Cannasse
0a9f147ab7
prevent hiding the stack when we have no way to catch errors in script
2015-04-29 10:37:42 +02:00
Zjnue Brzavi
287ff751cf
ensure if cond expr is surrounded by brackets
2015-01-12 20:51:23 +01:00
Zjnue Brzavi
9911465071
allow expr printing when -D hscriptPos is set
2015-01-12 20:49:29 +01:00
Nicolas Cannasse
161587768d
close #23
2014-11-29 11:17:04 +01:00
Nicolas Cannasse
966bec90a3
initialize locals in Interp.new ( close #18 )
2014-10-27 09:14: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
dc36220cee
added support for --no-inline
2014-09-13 10:48:04 +02:00
Nicolas Cannasse
d51995145a
added support for ESwitch encoding ( close #16 )
2014-09-13 10:46:31 +02:00
Nicolas Cannasse
f947c55167
correctly handle local function definitions : should be locals and not globals
2014-09-12 17:43:42 +02:00