Jaime Humberto Macias Bustamante
e26385f591
Fixed superClass calling + special operations
...
Fixed not being able to do "+=" on Custom Classes and getters and setters on constructor.
Also, fixed not being able to call functions from a CustomClass super class.
2025-05-05 21:42:02 -07:00
Jaime Humberto Macias Bustamante
33583e751f
Small optimizations
2025-05-05 14:28:44 -07:00
Jaime Humberto Macias Bustamante
742b40c86c
The Beginning of the End (Old Custom Class)
2025-05-04 23:20:56 -07:00
Jaime Humberto Macias Bustamante
bf602f758b
Typedefs for Custom Classes
...
Only works as an import method, for example: `typedef OtherShader = funkin.backend.shaders.CustomShader;`.
2025-05-04 20:13:01 -07:00
Jaime Humberto Macias Bustamante
ca0599b180
capture variables for inline Custom Classes
2025-04-09 11:43:06 -07:00
Jaime Humberto Macias Bustamante
d055203559
Public vars for Custom Classes in scripts
...
Uses public variables from the same scope as where the class was defined.
2025-04-08 11:48:31 -07:00
Jaime Humberto Macias Bustamante
65b43ebe78
Custom Classes inside of scripts
2025-04-07 11:52:49 -07:00
Jaime Humberto Macias Bustamante
9aa3481f62
superClass thing improvement
...
STILL IN PROGRESS
2025-04-05 19:48:59 -07:00
Jaime Humberto Macias Bustamante
f43221c3bb
"Type" for Custom Classes - Part II
...
- Move the superClass instantiation to CustomClassDecl
- Imported classes available for Static Functions
Warning: untested code.
2025-03-27 16:02:06 -07:00
Jaime Humberto Macias Bustamante
73c17e51dc
Enums, new import blocklist and redirects
...
warning: untested
2025-03-24 11:58:56 -07:00
Jaime Humberto Macias Bustamante
e6b5d6af49
".bind" support + "package;"
2025-03-04 20:26:32 -07:00
Jaime Humberto Macias Bustamante
9833c61f78
Using and Enums
...
Based on Enums and Using system from hscript-iris, mostly made by ne_eo.
2025-03-03 21:53:02 -07:00
Jaime Humberto Macias Bustamante
bd0ae3fbe1
Typedef support
...
Original Implementation by ne_eo for hscript-iris.
For now only works for normal scripts and making import redirects. Soon for custom classes.
2025-02-03 00:00:15 -07:00
Jaime Humberto Macias Bustamante
241d97aed0
Import aliases for Custom Classes
...
Import aliases support for Custom Classes. This allows you to import classes and other custom classes with an alias inside of a Custom Class.
This includes some improvements on "parseModuleDecl()"
2025-02-01 21:00:41 -07:00
Jaime Humberto Macias Bustamante
c45373aa55
Custom Classes Rework
2025-01-21 00:27:11 -07:00
Ne_Eo
fe673c21b2
Forgot to change this back to false
2025-01-19 21:08:40 +01:00
Ne_Eo
77420e9873
Bug fix with locals + Compatibility improvement
2025-01-19 21:00:20 +01:00
Ne_Eo
9f0937b5c3
Merge branch 'master' into codename-dev
2024-11-15 15:25:22 +01:00
Ne_Eo
bb46d45d56
Import Redirects
2024-11-15 15:25:04 +01:00
Ne_Eo
b683c981b0
no more safe casts
2024-10-18 02:16:50 +02:00
Ne_Eo
9b614421b6
Remove haxe2 support
2024-10-18 01:57:19 +02:00
Ne_Eo
26659db833
Small fix to allow StringMap and such (testing required)
2024-10-04 23:15:50 +02:00
Ne_Eo
6b5a47b017
Fix isBypassAccessor on get resolve
2024-09-04 00:11:19 +02:00
Ne_Eo
3ec4fc9f0b
Fixed bug with assign
2024-09-04 00:06:57 +02:00
Ne_Eo
5d2a99d40e
More Optimizations
2024-09-03 15:28:33 +02:00
Ne_Eo
1d06905fc5
Optimizations
2024-09-03 14:12:11 +02:00
Ne_Eo
3f98441918
Fixed bugs and ram improvements
2024-09-03 13:42:25 +02:00
Ne_Eo
a565cb7b2a
I think i fixed classes
2024-09-03 01:21:39 +02:00
Ne_Eo
bfe0b0e99e
Simplified code
2024-08-24 21:59:22 +02:00
Ne_Eo
13bdf30055
Classes work more reliably + Optimizations
2024-08-20 04:50:20 +02:00
Ne_Eo
123a7de64a
Fix Trigraph bug
2024-07-26 04:24:37 +02:00
b96e6c8149
Fix import extend class ( #4 )
...
* Fix import extend class
yea
* Update Interp.hx
* Fix issues with compiling
* Improved extend Errors
---------
Co-authored-by: NeeEoo <NeeEoo@users.noreply.github.com >
2024-04-23 00:01:43 +02:00
NeeEoo
1725dfd1ea
Merge branch 'master' into custom-classes
2024-02-15 19:35:31 +01:00
NeeEoo
a8cc0ccc86
Restructuring + KeyValueItherators + is + fixes
2023-09-23 21:23:31 +02:00
Leer and GitHub
7dd868aac7
fix compilation errors and make setVar public ( #1 )
...
* fix 1
* fix 2
* make setVar public
2023-09-23 20:32:31 +02:00
NeeEoo
80f6ea4502
Oops
2023-08-17 09:54:56 +02:00
NeeEoo
eb820aaf6a
Improved ?.
2023-08-17 09:51:43 +02:00
NeeEoo
d0797ad5d8
Fixed bug with redirects
2023-08-07 13:54:19 +02:00
NeeEoo
9b37bd532e
Oops forgot this
2023-07-06 11:59:12 +02:00
NeeEoo
333352edcf
Fix bug + bypassAccessor on assign on scriptObject
2023-07-06 00:40:21 +02:00
NeeEoo
05783773af
Added support for sub class imports
2023-06-15 14:36:28 +02:00
NeeEoo
87f2c1b062
Added import as and switch or and def null
2023-06-15 11:08:08 +02:00
Yoshman29
2e28f863f3
some fixes & stuff
2023-04-19 01:46:48 +02:00
NeeEoo
1d67946f3f
Outside variables now in classes (no more import in class)
2023-04-10 03:36:50 +02:00
Yoshman29
fab6d7e662
Merge branch 'custom-classes' of https://github.com/YoshiCrafter29/hscript-improved into custom-classes
2023-04-10 02:56:20 +02:00
NeeEoo
6e20578a81
Improved static variables
2023-04-10 02:37:41 +02:00
lunarcleint
812abae6e5
??= op
2023-04-09 16:51:04 -07:00
NeeEoo
b3b512d027
Added support for ?.
2023-04-10 00:09:50 +02:00
NeeEoo
ed296c4c7f
Merge branch 'master' into custom-classes
2023-04-09 23:28:45 +02:00
lunarcleint
595bb47249
?? and .? syntax (only ?? is functional)
2023-04-09 14:09:58 -07:00