Comments (4)
FYI, I'm working on -D hscriptPos
in my fork. I've got it compiling, but I'm not always sure what to pass to pmin/pmax.
Still, my hacking is in Bytes.hx
and Interp.hx
, so I think the original hscriptPos checking in Parser
is working. I now get legible parser error messages such as:
Error: Parse Error: EUnexpected({), char 12-12
at hscript::Parser/unexpected()[hscript/Parser.hx:181]
at hscript::Parser/parseFullExpr()[hscript/Parser.hx:256]
at hscript::Parser/parse()[hscript/Parser.hx:175]
at hscript::Parser/parseString()[hscript/Parser.hx:148]
from hscript.
Anyone on this one ?
I have the same issue with haxe 3.2.1 and hscript 2.0.5
from hscript.
I have a more up to date fix in my fork. It also makes trace() report the line number and filename (if you provide it to Parser.parseString) :)
from hscript.
Everything seems to compile correctly now, closing.
from hscript.
Related Issues (20)
- semicolon in string HOT 5
- hscript.Macro and hscriptPos HOT 1
- Authorize char 36 "$" HOT 2
- Haxe 4.2.2 - Std.is is deprecated. Use Std.isOfType instead HOT 7
- Invalid access to field HOT 1
- Operators are allowed in var declaration
- Preferred file extension? HOT 1
- Strange behaviour HOT 6
- Transform direct function's call in expr into block with tmp var does'nt work HOT 1
- Throwing SReturn HOT 2
- Null function reference for IntIterator HOT 5
- Result depends on code outside script HOT 5
- Anonymous functions fail on Macro context
- [PHP] array access modifies array if access out of bounds
- Type's path HOT 7
- try catch mess with locals
- Easy way to add checker types HOT 3
- hl.Bytes types get mangled HOT 2
- convert Expr -> Expr in the opposite direction HOT 3
- Async interpreter work example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hscript.