zetscript icon indicating copy to clipboard operation
zetscript copied to clipboard

ZetScript is a programming language with an API that allows bind C++ code in script side.

Results 29 zetscript issues
Sort by recently updated
recently updated
newest added

load from memory and specify pointer, offset and number of bytes Implement: -readBytes: Vector -readLine: String

feature

The "module" will be dinamic library (.dll) and doing ´import "name"´ will load the module at runtime. I could be good idea implement **namespaces** concept as variables to access the...

improvement

Currently zetscript uses std::function to bind zetscript functions for C++. Only in a way to optimize, if is necessary, it will study the `zs_function` implementation Here some sources, https://github.com/rosbacke/delegate

optimitzation

With this example, ``` class Number{ constructor(_value){ this.value=_value; } _andset(_value){ return new Number(this.value&=_value) } } var a=new Number(0xff); var b=1; b=a&=0x0f Console::outln("a:{0} b:{1}",a,b) ``` the output is the following, `a:{"value":15}...

bug

It will let it declare variables in other scopes. ``` my_space{ var my_var_in_my_space=10 ... my_space2{ var my_var_in_my_space2=10 ... } } ``` the access of my_space will be `my_var_in_my_space_scope::l` Also in...

improvement

== Instanceof == Having the following code, `a instanceof TypeC ` it generates the follwonf code, ``` load a load TypeC instanceof ``` It could be done in the following,...

-Exapnd ILOAD_K by these ILOAD_KB ILOAD_KI ILOAD_KF ILOAD_KS -Expand ILOAD_KR by these ILOAD_KBR ILOAD_KIR ILOAD_KFR ILOAD_KSR -Expand ILOAD_RK by these ILOAD_RKB ILOAD_RKI ILOAD_RKF ILOAD_RKS

improvement

# Description For 'for.zs' that makes a performance test of a 1000000 of iterations that covers .push and add it shows an important slow respect other languages. For example one...

optimitzation

``` var a=Integer::MAX_VALUE+1 Console::outln(a) ``` Gives the following output, ``` -'..--).0-*(+,))(*.( ```

It will include zetnet

feature