Jaime Humberto Macias Bustamante
b980b73f9e
small optimizations
2026-03-08 21:07:41 -07:00
Yoshman29
5d2ab05fc9
(IMPORTANT) added new define for abstracthandler
2026-01-29 20:46:54 +01:00
Jaime Humberto Macias Bustamante
b82aad097a
Property resolve optimization
2026-01-10 20:35:20 -07:00
Jaime Humberto Macias Bustamante
df1bc5c68b
Multiple implements support
2026-01-08 15:13:59 -07:00
HEIHUAa and GitHub
1033e2fd10
Parser optimization ( #12 )
2026-01-08 14:08:37 -07:00
Jaime Humberto Macias Bustamante
f9b5ce71b4
Class Path fix + more optimizations
2025-12-27 13:34:56 -07:00
Jaime Humberto Macias Bustamante
951a0898ce
more optimizations
...
- some functions are inlined now to improve performance.
- "hasScriptObject" and "inCustomClass" has been turned to a real variable to reduce the amount of null checks.
- some condition has been reordered to improve performance.
2025-12-15 15:54:28 -07:00
Jaime Humberto Macias Bustamante
22b4b25f5a
small static extension fix + small optimization
2025-12-07 14:29:50 -07:00
Jaime Humberto Macias Bustamante
a69d51f474
Update Interp.hx
2025-09-21 12:14:32 -07:00
Jaime Humberto Macias Bustamante
9c3069d62e
forgot this
2025-09-19 16:53:03 -07:00
Jaime Humberto Macias Bustamante
c91ca46eb4
Warning message handling + optimization
...
Now Duplicated Custom Class declaration will be ignored and prints a warning message.
2025-09-19 16:37:11 -07:00
TBar09 and GitHub
115bd453b9
Added static imports ( #10 )
...
* Added static imports
* Update Interp.hx
2025-09-08 08:53:37 -07:00
Jaime Humberto Macias Bustamante
9fa4a548e5
String Interpolation Support
...
implementation from hscript-iris (by inky03)
Note: it needs optimization
2025-09-06 19:39:57 -07:00
Jaime Humberto Macias Bustamante
18f4ebccd9
Fix small bug with slash literal ("\/")
2025-09-06 19:31:48 -07:00
Jaime Humberto Macias Bustamante
8dcebe3930
Regular Expression support (regex)
2025-09-06 19:31:48 -07:00
Jaime Humberto Macias Bustamante
85f51df7eb
fixed accessing class fields from objects
...
this shouldn't happen, unless "useRedirects" is on.
2025-08-19 19:24:00 -07:00
Jaime Humberto Macias Bustamante
0b4675b4ad
static property accessor call
2025-08-14 03:07:44 -07:00
Jaime Humberto Macias Bustamante
bbe9fd255d
fixed package parsing issue
2025-08-03 21:46:04 -07:00
Jaime Humberto Macias Bustamante
6bd3f26746
package syntax support
...
For now it's just sugar syntax.
2025-08-03 21:28:59 -07:00
Jaime Humberto Macias Bustamante
83aa0f3856
fixed variable set bug
2025-08-03 01:08:06 -07:00
Jaime Humberto Macias Bustamante
f936877339
MyCustomClass.new + Optimization
...
You can now pass the custom class constructor as a field.
2025-08-03 00:08:43 -07:00
Jaime Humberto Macias Bustamante
7f087eab03
fixed getting property fields on superclass
...
Basically "Type.getInstanceFields" doesn't take into account property fields, so it uses "Reflect.fields" to fetch the rest of fields.
2025-08-01 16:55:13 -07:00
Jaime Humberto Macias Bustamante
056a2bd791
fixed calling superclass functions
2025-07-29 13:23:13 -07:00
Jaime Humberto Macias Bustamante
902133a8ba
goodbye legacy custom class, you will never be missed :3
2025-07-26 21:22:16 -07:00
Jaime Humberto Macias Bustamante
1791187808
Update ClassExtendMacro.hx
2025-07-26 16:09:02 -07:00
Jaime Humberto Macias Bustamante
cacb0cdbd6
Cleanup + loopRun
...
- added loopRun to define custom loops (https://github.com/HaxeFoundation/hscript/commit/20c8bc3f3c72a4dedabf9a647940b9c4f43eedf8 )
2025-07-26 15:34:35 -07:00
Jaime Humberto Macias Bustamante
0b1fbf66dc
"cast" syntax support
...
- Now it parses unsafe/safe cast. For now it's just sugar syntax.
2025-07-26 01:59:57 -07:00
Jaime Humberto Macias Bustamante
2c6f48b1bc
Update Parser.hx
...
now enum parses correctly
2025-07-24 14:18:45 -07:00
Jaime Humberto Macias Bustamante
ed78ed79d9
Scripted Enums
2025-07-23 19:50:36 -07:00
Jaime Humberto Macias Bustamante
98b97bef66
Scripted Enums WIP
2025-07-21 22:39:08 -07:00
Jaime Humberto Macias Bustamante
003d22286c
super call fixes
2025-07-21 16:47:01 -07:00
Jaime Humberto Macias Bustamante
5232f069fb
final classes + improved custom class aliases
2025-07-17 14:46:12 -07:00
Jaime Humberto Macias Bustamante
4f13f07071
better custom class import alias
2025-07-17 13:20:03 -07:00
Jaime Humberto Macias Bustamante
70efab47d1
Documentation + custom classes import alias
2025-07-14 12:59:54 -07:00
Jaime Humberto Macias Bustamante
c00c0c3257
Create IHScriptAbstractBehaviour.hx
2025-07-12 16:49:04 -07:00
Jaime Humberto Macias Bustamante
f8a930cd48
upcasting
2025-07-12 16:13:59 -07:00
Jaime Humberto Macias Bustamante
1d753731e0
better default static extension fetch
2025-07-12 13:44:06 -07:00
Jaime Humberto Macias Bustamante
b239ad2790
Update Interp.hx
...
oops :3
2025-07-11 09:03:29 -07:00
Jaime Humberto Macias Bustamante
97c3f8bb01
small optimization
...
since Reflect.hasField(cls, name) is quite expensive, we cache the fields, so it gets the field directly without issues.
2025-07-11 08:45:33 -07:00
Jaime Humberto Macias Bustamante
6b54479211
Static Extension support + small fixes
...
Static extension for real/custom classes. aka. the `using` keyword
Warning: UNTESTED
2025-07-11 04:35:03 -07:00
Jaime Humberto Macias Bustamante
fd88d78544
Custom Class Type Check + Getting custom fields
...
- Now it checks for the custom class type (partial).
- Custom class fields get for generated classes.
2025-07-08 17:06:33 -07:00
Jaime Humberto Macias Bustamante
434ded6503
"null" value fix
...
CLOSES #9
2025-07-06 21:50:24 -07:00
Jaime Humberto Macias Bustamante
a2cdefb369
static fixes :3
2025-07-03 02:44:53 -07:00
Jaime Humberto Macias Bustamante
46285a800e
Update CustomClass.hx
2025-07-01 14:34:41 -07:00
Jaime Humberto Macias Bustamante
305ede38cc
Update Parser.hx
2025-06-26 16:56:10 -07:00
Jaime Humberto Macias Bustamante
f773589a37
Improved "is" operator
...
Official implementation of "is" operator.
2025-06-26 16:37:04 -07:00
Jaime Humberto Macias Bustamante
b9a0706d6d
performance fix for js + cleanup
2025-06-26 14:42:53 -07:00
Jaime Humberto Macias Bustamante
85f3830d71
bruh :'3
2025-06-23 18:23:51 -07:00
Jaime Humberto Macias Bustamante
2c6db18d06
Type Parameters parsing for "ENew"
...
it now parses type parameters on "ENew", ignored by the interpreter.
Example: "var a = new Object<Float>();
2025-06-23 15:12:15 -07:00
Jaime Humberto Macias Bustamante
c165cdfc0a
another bit of documentation
2025-06-20 15:59:31 -07:00