Commit Graph

289 Commits

Author SHA1 Message Date
Deukhoofd 8da35b4e71
Make coroutine functions be forced to be created with the coroutine keyword. 2019-02-14 12:42:47 +01:00
Deukhoofd dbf4d8a82e
Fix coroutines yielding the same value twice 2019-02-14 12:38:30 +01:00
Deukhoofd b475bd4495
Added support for coroutines 2019-02-13 18:10:39 +01:00
Deukhoofd 237f2fefd9
Refactor evaluation to not be handled in a single large class 2019-02-13 16:29:58 +01:00
Deukhoofd 4790cc74d2
Fixed issue where when throwing "function not found" error with no parameters would throw a useless exception 2019-02-03 14:24:13 +01:00
Deukhoofd a2c6943c3a
Minor changes to allow for easy registering of ScriptMethodInfoFunction 2019-02-01 19:07:08 +01:00
Deukhoofd 947904f097
Make sure condition for if statement is a boolean 2019-01-31 15:18:21 +01:00
Deukhoofd 2e08669509
Fixed issue when startline is EOF 2019-01-31 15:13:26 +01:00
Deukhoofd 49531b5595
Fixed not being able to add to Userdata list 2019-01-31 14:48:45 +01:00
Deukhoofd da10ac2f1a
Allow adding string to number 2019-01-31 14:46:12 +01:00
Deukhoofd ce030c484f
Fix ListUserData erroring on type retrieval 2019-01-26 14:08:18 +01:00
Deukhoofd ee36060dd6
Fixed tables in script runtime functions breaking 2019-01-26 14:03:22 +01:00
Deukhoofd 65ae6f6f06
Better binding for index expressions 2019-01-26 13:23:12 +01:00
Deukhoofd eeecd0225a
More better error handling 2019-01-26 12:15:15 +01:00
Deukhoofd 7e50111724
Better evaluation error handling 2019-01-25 17:22:07 +01:00
Deukhoofd 575889bed1
Fix issue where unknown types would bind to the first available type, as they inherit from system.object 2019-01-25 16:03:00 +01:00
Deukhoofd 493a8ebb9d
Don't try and type check function parameters if they're not bound 2019-01-23 18:22:56 +01:00
Deukhoofd d641ab936f
More type support, allow inheriting types to be assigned to a function 2019-01-23 18:15:57 +01:00
Deukhoofd c7bb42711a
Fix binding functions return types not always working 2019-01-23 15:33:17 +01:00
Deukhoofd ac12fbb60d
Handle interop better 2019-01-23 15:04:10 +01:00
Deukhoofd 364e71198e
Better handling of binding when dealing with unknown userdata 2019-01-23 13:40:10 +01:00
Deukhoofd faaca91265
More fixes for function binding 2019-01-23 13:15:19 +01:00
Deukhoofd 87a533ac2b
Fix table variable assignment in generic for loop not binding to proper symbol 2019-01-23 12:48:00 +01:00
Deukhoofd 29818dad31
Fix internal function variables not binding properly when allowing all objects 2019-01-23 11:54:35 +01:00
Deukhoofd aa2539ad20
Handle object parameter for functions better 2019-01-22 20:35:41 +01:00
Deukhoofd b743759146
Lock Variables while adding to it to prevent threading issues 2019-01-22 20:35:23 +01:00
Deukhoofd 4062d2f140
Fixes for types sometimes choosing type they inherit from instead of themselves 2019-01-22 18:32:29 +01:00
Deukhoofd 8bd5f7d0af
Lock evaluation scope when not created to prevent threading issues 2019-01-22 16:53:22 +01:00
Deukhoofd 750d5dab8d
Fix bound types not considering interfaces inheriting from other interfaces 2019-01-22 14:39:29 +01:00
Deukhoofd 613e9dcb09
Fix parameters complaining they're not valid when they are valid 2019-01-22 13:39:57 +01:00
Deukhoofd 284ba2cf54
Better error handling 2019-01-22 12:28:21 +01:00
Deukhoofd cd6384614b
Handle generic inheritance for checking if type is valid for function parameter 2019-01-22 11:51:12 +01:00
Deukhoofd a413c5ecd4
Show better error position if table assignment statement is a bad statement 2019-01-21 18:56:32 +01:00
Deukhoofd e5f08d5859
Fix function calls in fullstop index expressions not binding properly 2019-01-21 18:45:02 +01:00
Deukhoofd a9f6b682dc
Fix unknown parameters in userdata functions not allowing types 2019-01-21 16:22:22 +01:00
Deukhoofd 224db6f237
Remove weird requirement that table indexing should always be a string or number 2019-01-21 16:13:18 +01:00
Deukhoofd bb51fb3853
Hack to allow binary operators on userdata 2019-01-21 16:07:24 +01:00
Deukhoofd 97f3a4d879
Fix binding functions when no access to direct types 2019-01-21 15:09:43 +01:00
Deukhoofd 30c3223cb4
Fix binding of calling C# methods not working 2019-01-21 14:38:15 +01:00
Deukhoofd 7f58db1955
Handle when C# calls a script function with null as parameter 2019-01-21 14:38:01 +01:00
Deukhoofd b73982237c
Fix wrong error message 2019-01-21 14:37:43 +01:00
Deukhoofd 47a80d2153
Fixed ListUserData type being unknown 2019-01-21 14:03:11 +01:00
Deukhoofd e74d061177
Adds remove functions for table to list helper standard library 2019-01-21 13:52:02 +01:00
Deukhoofd 44bfc90fe3
Better handling of getting composite script types 2019-01-21 13:37:51 +01:00
Deukhoofd 86f47ae002
Fix binding issue on evaluation 2019-01-21 12:57:30 +01:00
Deukhoofd ca9361cd0f
Handle bound types when they ar enot yet set 2019-01-21 11:34:44 +01:00
Deukhoofd 1955515f22
Override function if function with exact same parameters was already defined 2019-01-20 23:34:46 +01:00
Deukhoofd 9aea17c445
tostring for ListUserData 2019-01-20 23:09:08 +01:00
Deukhoofd 01d408e5fd
Fixes for modules and function binding 2019-01-20 22:57:18 +01:00
Deukhoofd 3737ac826c
Adds basics of new list helper library 2019-01-20 22:28:02 +01:00