Commit Graph

116 Commits

Author SHA1 Message Date
Rodney Cunningham
09ccf5d970 Merge pull request #1 from n00b87/user_types_integration
User types integration
v4.0 RCBasic4-Alpha-1 RCBasic4-Alpha-2
2024-04-28 21:28:34 -05:00
n00b87
e2338d1b9d Removed compiler debug output 2024-04-27 11:57:41 -05:00
n00b87
5d1143b8b9 Fixed loop hole where dimensions weren't expected for number and string type members 2024-04-27 11:45:35 -05:00
n00b87
db229aece8 Added rule to allow number member types to be used as FOR counter 2024-04-26 00:03:30 -05:00
n00b87
6587dc2898 Fixed ArrayCopy and ArrayFill functions when handling numbers and strings 2024-04-25 16:33:47 -05:00
n00b87
863decff5d Added TypeArrayCopy, and TypeArrayFill
* Added TypeArrayCopy and TypeArrayFill
* Fixed bug when adding embedded arguments of defined types to compiler
2024-04-25 02:19:42 -05:00
n00b87
308c1944f9 Fixed the compile error when passing a type member with no dimensions 2024-04-24 16:47:36 -05:00
n00b87
f8fb9a1ccb Fixed a lot of bugs
* Fixed ByRef variables of defined types causing crashes
* Fixed ArrayDim causing crashes with members of types
* Added parent references to number and string values for use with ByRef
* Added TypeArrayDim
* Added the ability to use custom types in embedded functions
* Added the ability to create types in embedded_functions.bas
* Added new output file for embedded (rcbasic_dev4.txt) that will output code to generate types
* Added defined types to byref exceptions
2024-04-23 23:27:28 -05:00
n00b87
1248387749 Added support for user defined types to embedded_functions.bas 2024-04-22 20:42:20 -05:00
n00b87
53c3ce4483 ArrayDim now works with type members 2024-04-22 17:26:52 -05:00
n00b87
a84cceb938 Added new redim instructions to runtime 2024-04-22 02:37:09 -05:00
n00b87
96c8366a4b Added REDIM type member support 2024-04-22 00:36:27 -05:00
n00b87
c99b8f0b01 Fixed ByRef number and string arguments with defined types 2024-04-21 19:06:42 -05:00
n00b87
ad9134e932 WIP 2024-02-10 13:55:17 -06:00
n00b87
692f8f342e Initial Commit 2024-02-10 11:27:02 -06:00
Rodney Cunningham
a749abe795 Initial commit 2024-02-10 11:20:48 -06:00