ncannasse
7ff816417e
fixes
2018-09-24 15:54:40 +02:00
ncannasse
3fa2f3898a
fix
2018-09-24 15:54:24 +02:00
ncannasse
514ce9eec2
more type checks
2018-09-21 10:47:30 +02:00
ncannasse
5bc357b4b3
hscriptPos changes
2018-09-21 10:47:20 +02:00
ncannasse
56ddc3c24e
more typing
2018-09-20 18:21:17 +02:00
ncannasse
e407b2a307
optimize the ast (eliminate (function(_) e)(null) calls)
...
treat function literals as synchronized by default
2018-09-19 18:45:07 +02:00
ncannasse
1ac194ed1d
more typing
2018-09-19 18:42:06 +02:00
ncannasse
62bf5d4cc9
more typing, added top down inference
2018-09-19 15:11:29 +02:00
ncannasse
27093064a9
added ECheckType, added short lambda parsing
2018-09-18 16:15:15 +02:00
ncannasse
860a3018a7
don't test on haxe 3.2.x anymore
2018-09-18 15:07:07 +02:00
ncannasse
eb3992dbdb
separate Checker / CheckerTypes
2018-09-18 14:35:36 +02:00
ncannasse
8c5f9cc1d3
more type checking
2018-09-17 11:52:29 +02:00
ncannasse
ed78703090
added type checker (partial)
2018-09-12 18:00:34 +02:00
ncannasse
29b61bcee9
fixed invalid char position
2018-09-12 18:00:34 +02:00
Nicolas Cannasse
70b11ec7ad
2.2.0
2018-04-14 12:23:12 +02:00
ncannasse
f2944e0bae
added rethrow()
2018-03-02 17:26:12 +01:00
ncannasse
fdec33d086
support async transform with -D hscriptPos
2018-03-02 17:25:43 +01:00
ncannasse
0702074469
added ECustom error message
2018-03-02 17:22:35 +01:00
ncannasse
6d5cbf6974
correctly handle "return" in sync parts
2018-03-02 11:25:53 +01:00
Nicolas Cannasse
5429a3a4d4
added typeToString()
2018-02-04 22:50:28 +01: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
8c04831339
don't pass return value in SReturn : big problem in JS that does a Std.string on exception value
2017-11-24 12:43:39 +01:00
ncannasse
4a8b2690aa
fixed trace() with multiple arguments
2017-11-23 16:14:59 +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
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
Nicolas Cannasse
7209aa8880
fixed @async in @sync, added scriptCall special API
2017-08-18 16:44:32 +02: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
b8ede1a3e7
make sure Test include all other files to error when ast changes
2017-08-10 16:31:37 +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
140a9918c0
2.1.1
2017-07-19 22:14:41 +02:00
Nicolas Cannasse and GitHub
fc6a30b684
Update README.md
2017-07-19 21:22:33 +02:00
Nicolas Cannasse and GitHub
deb0ae8b8e
Update README.md
2017-07-19 21:22:06 +02:00
Nicolas Cannasse
1425479569
fixed missing EMeta support
2017-07-19 21:19:20 +02:00
Nicolas Cannasse
09923651d8
2.1.0
2017-07-18 18:47:06 +02:00
Nicolas Cannasse
7ca5b85051
added optional metadata support in toplevel expr and anon types
2017-07-18 17:28:15 +02:00
Nicolas Cannasse
ace61e589d
moved build scripts in /bin
2017-05-06 11:14:45 +02:00
Nicolas Cannasse
01f3030473
2.0.7 ( close #47 )
2016-04-03 20:10:18 +02:00
Nicolas Cannasse
98c08becd6
fixes for -D hscriptPos
2016-04-03 20:09:39 +02:00
Nicolas Cannasse
d44ad07c2b
2.0.6
2016-04-02 12:24:01 +02:00
Nicolas Cannasse
98184bf9bf
use property access ( close #10 )
2016-01-29 13:58:07 +01:00
Nicolas Cannasse
22fa9085cf
Merge pull request #41 from sebthom/haxelib-run-script
...
added run script
2015-12-04 17:21:48 +01:00
Nicolas Cannasse
37401aa03a
include extraParams.hxml in release
2015-11-23 21:13:53 +01:00
Nicolas Cannasse
e5ce7e738e
Merge pull request #40 from MSGhero/patch-1
...
Fix EBlock issue in expr()
2015-11-07 10:08:30 +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
83e7c4a5fe
2.0.5
2015-08-15 12:06:00 +02:00
Nicolas Cannasse
140ed7788d
fixed catch( e : Dynamic ) { } ( close #32 )
2015-07-23 22:26:54 +02:00
Nicolas Cannasse
54c9f507b8
make sure to keep IntIterator ( close #13 )
2015-05-20 20:10:02 +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
Nicolas Cannasse
98204de89f
Merge pull request #26 from zjnue/master
...
allow expr printing when -D hscriptPos is set and make if parsing slightly stricter
2015-01-13 08:28:15 +01:00
Nicolas Cannasse
161587768d
close #23
2014-11-29 11:17:04 +01:00
Nicolas Cannasse
d0d9af27b4
2.0.4
2014-10-27 09:15:52 +01:00
Nicolas Cannasse
966bec90a3
initialize locals in Interp.new ( close #18 )
2014-10-27 09:14:04 +01:00
Nicolas Cannasse
ceb86de6a0
Merge pull request #17 from starburst997/patch-1
...
Fix typo in README
2014-10-10 21:55:01 +02: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
5b7abff256
2.0.3
2014-09-13 10:50:58 +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
Nicolas Cannasse
17108f1263
added ESwitch support in Printer
2014-09-11 18:49:23 +02:00
Nicolas Cannasse
818f2644c9
2.0.2
2014-09-11 18:44:33 +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
1f12e673b3
compiles with -D hscriptPos
2014-09-11 17:23:50 +02:00
Nicolas Cannasse
8d35e2ff8c
added TSwitch support
2014-09-11 17:13:31 +02:00
Nicolas Cannasse
e4cf5a7821
Merge pull request #15 from bubblebenj/patch-1
...
Update README.md
2014-09-01 21:15:14 +02:00
Nicolas Cannasse
0346d98ee7
bugfix
2014-08-04 10:59:28 +02:00
Nicolas Cannasse
8ba9ccc476
added Tools.iter/map
2014-08-04 10:55:36 +02:00
Nicolas Cannasse
715f899192
Merge pull request #14 from Gama11/patch-1
...
Readme typo fix
2014-07-30 00:01:27 +02:00
Nicolas Cannasse
dc889bdef1
added Printer
2014-07-18 18:58:12 +02:00
Nicolas Cannasse
59609dfc91
minor
2013-06-07 22:39:10 +02:00
Nicolas Cannasse
e5021de509
minor
2013-06-07 22:38:16 +02:00
Nicolas Cannasse
20da568b4a
added README.md
2013-06-07 22:37:30 +02:00
Nicolas Cannasse
830b0d477b
2.0.1
2013-06-07 21:54:35 +02:00
Nicolas Cannasse
3382b556a3
allowed to customize field call
2013-06-07 19:11:02 +02:00
Nicolas Cannasse
b7c881f9d7
changed haxelib format
2013-05-17 08:39:04 +00:00
Nicolas Cannasse
386dadaabb
haxe3 changes done
2013-02-24 17:26:51 +00:00
Nicolas Cannasse
0389c9d9d5
haxe3 update
2013-02-24 17:13:15 +00:00
Nicolas Cannasse
00f4dcbb57
haxe 3.0 compat
2013-02-24 17:03:22 +00:00