Jaime Humberto Macias Bustamante
ff649efadf
better accessor bypass handling
2026-06-20 18:50:03 -07:00
Crimson-is-stupid and Jaime Humberto Macias Bustamante
4625529be7
Reimplement Trigraph Fix ( #18 )
...
* replace all "??=" with "??" + "="
* Update Expr.hx
2026-06-03 23:37:56 -07:00
Jaime Humberto Macias Bustamante
b9da833bb5
better callAccessor + optimize "__allowGetSet"
2026-06-03 17:14:08 -07:00
Jaime Humberto Macias Bustamante
0c08f64274
Update Property.hx
2026-06-03 16:57:58 -07:00
Jaime Humberto Macias Bustamante
3add08e0ee
some docs + small optimizations
2026-05-29 10:23:56 -07:00
Jaime Humberto Macias Bustamante
77fae88890
oversight again...
2026-04-30 11:32:13 -07:00
Jaime Humberto Macias Bustamante
2a301ea591
fixed small oversight
2026-04-30 11:27:07 -07:00
Jaime Humberto Macias Bustamante
634d819cc2
Refactor property fields
...
Now you can call directly the getter/setter functions without triggering them again.
2026-04-30 11:02:47 -07:00
Jaime Humberto Macias Bustamante
7f3de28e02
Update Interp.hx
2026-04-30 09:30:10 -07:00
Jaime Humberto Macias Bustamante
0322624729
New Ops fixes
2026-04-21 11:01:22 -07:00
HEIHUAa and GitHub
68358bb084
cache+optimize+fix ( #17 )
...
* 更新 Interp.hx
* exprReturn
* Binop
* exprReturn repair
* exprReturn repair
* Revert "Merge branch 'cache' of https://github.com/HEIHUAa/hscript-improved into cache"
This reverts commit 2bc31b672c , reversing
changes made to 188031c416 .
* Unop
* Fix override not applying across multiple inheritance levels.
* 更新 Interp.hx
* 更新 README.md
* ++
2026-04-21 10:48:42 -07:00
Jaime Humberto Macias Bustamante
65ab73d93f
fix enum abstract field declaration + implicit string
...
now enum abstract are parsed correctly.
2026-03-18 01:05:20 -07:00
Jaime Humberto Macias Bustamante
fff4f68d66
small optimization + docs check
2026-03-16 21:41:56 -07:00
HEIHUAa and GitHub
65fe06feba
Implement enum abstract + fully qualified path functionality. ( #15 )
...
* enum
* path functionality
* allowTypes
2026-03-16 21:05:53 -07:00
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