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
ee-tpr and Nicolas Cannasse
31e8851bcc
Add a resetVariables into the interp so it can be called when extending interp ( #89 )
2019-10-30 11:51:38 +01:00
Nicolas Cannasse
f464767ee7
added Parser.resumeError, added Checker.getCompletion
2019-10-20 11:16:23 +02:00
Christopher George and Nicolas Cannasse
22eb58b3de
Fix calling with 0 args targeting Java ( #88 )
2019-10-08 09:29:14 +02:00
Nicolas Cannasse
0daee20545
allow customization of top level async end point
2019-10-07 10:57:53 +02:00
Nicolas Cannasse
d98073dc33
added support for mutually recursive functions
2019-10-02 16:27:35 +02:00
Nicolas Cannasse
fb199e7dea
added removeGlobal()
2019-10-01 18:09:41 +02:00
Christopher George and Nicolas Cannasse
6cea0d97c2
Call error() on invalid number of arguments instead of just throwing … ( #86 )
2019-09-25 21:09:36 +02:00
Nicolas Cannasse
058dd2e01e
fix for haxe 4.0-rc4
2019-09-05 10:41:37 +02:00
Nicolas Cannasse
975d122491
make unify public
2019-08-29 17:29:11 +02:00
ncannasse
5ce4fbd74d
added @sync function name(...) support, improved variable lookup
2019-04-24 15:27:20 +02:00
ncannasse
46b6b3c151
always valid
2018-10-25 15:13:36 +02:00
ncannasse
1ccc35f464
added try/switch type checking, and some other fixes
2018-10-15 09:40:41 +02:00
Juraj Kirchheim and Nicolas Cannasse
575040be65
Fix Haxe 3. ( #75 )
2018-09-26 18:38:29 +02:00
Juraj Kirchheim and Nicolas Cannasse
206959adbd
Support new function type syntax. ( #74 )
2018-09-26 14:06:16 +02:00
ncannasse
dd1c97b6af
more type checking
2018-09-25 17:01:09 +02:00
ncannasse
85463dcff0
implemented apply type parameters
2018-09-25 12:04:35 +02:00
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
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
Andy Li
0ff49845a7
fix hscript.Bytes with -D hscriptPos ( close #64 )
2018-05-11 17:58:04 +08:00
Andy Li
aae5f431cb
use Bytes#getInt32 and BytesBuffer#addInt32
...
fix test for python and php targets
2018-05-11 11:00:40 +08: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