Comments (2)
The idea was to keep hscript small and easy. So it currently only works at the "expression" level.
from hscript.
I see. After familiarizing myself with the interpreter, I'm actually using it to create my own scripting language. Along with the changes mentioned above, I've added import
and export
, and a module system. I also added an unless
statement, and functions, object, and arrays are now their own classes, rather than normal Haxe objects of those types. This seems to have made the interpreter somewhat faster, though I couldn't say why. Once I've gotten a few of the bugs worked out of it, I'll be uploading it to Github, and to the haxelib registry. I thought I might let you know that I was using your project as the starting point, and that I've used a very large amount of your code in my own. I plan to credit you in the README and such, but if there's any other action you'd like me to take regarding crediting you, I'd be more than happy.
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.