Commit Graph

309 Commits

Author SHA1 Message Date
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
Deukhoofd b9183be4e7
Fixes for script binding not working 2019-01-20 22:27:47 +01:00
Deukhoofd 20dfcf6ec6
Support ScriptBoolean returns from bound C# functions 2019-01-20 22:27:19 +01:00
Deukhoofd 898cabb237
Better support for method overloading 2019-01-20 21:00:01 +01:00
Deukhoofd 921abce011
Fixes for function execution when parameter is not bound 2019-01-20 15:17:06 +01:00
Deukhoofd 3c0e5f5b13
Allow parameter overloading script functions 2019-01-20 15:01:18 +01:00
Deukhoofd 43da2b3d19
Properly handle full composite key binding in for loops 2019-01-19 18:05:55 +01:00
Deukhoofd 246aba3e95
Fixed issue with userdata type on evaluation 2019-01-19 17:50:54 +01:00
Deukhoofd cf023af50d
Minor fixes 2019-01-19 17:27:56 +01:00
Deukhoofd fd8f7bf9f8
Support for casting to other types 2019-01-19 17:13:53 +01:00
Deukhoofd 96b0959bd6
Reworked type handling to handle userdata more easily 2019-01-19 16:38:33 +01:00
Deukhoofd 6552e153d0
Add TypeContainer toString overrides 2019-01-19 14:21:36 +01:00
Deukhoofd fcd26f4cc0
Remove test exception 2019-01-19 14:18:43 +01:00
Deukhoofd d2d7b985b2
We need access to FunctionParameters at binding in other libraries 2019-01-19 14:15:17 +01:00
Deukhoofd e44116b2cd
Don't allow using indexing to access local variables 2019-01-19 14:12:16 +01:00
Deukhoofd bee6fad947
Fix complex table/function variable handling 2019-01-18 16:41:03 +01:00
Deukhoofd f55e6d314d
Rework type binding to allow for type awareness in iterators 2019-01-18 16:09:36 +01:00
Deukhoofd 64aedceb85
Fix finding bottom node when two nodes are on the same line not working 2019-01-17 19:24:00 +01:00
Deukhoofd c1fd6081fd
Better handling of finding bottom node 2019-01-17 18:34:58 +01:00
Deukhoofd f903a3ca58
Better error reporter 2019-01-17 17:48:10 +01:00
Deukhoofd d341318989
Fix issues with identifier spans 2019-01-17 17:33:53 +01:00
Deukhoofd 1e7fc7629e
Adds GetChildren method for boundNodes 2019-01-17 13:56:53 +01:00
Deukhoofd 1d6b5673d6
Reworked diagnostics, saves line positions in memory, instead of calculating later. 2019-01-16 23:57:42 +01:00
Deukhoofd b5bfb7997b
Better handling of C# function parameter type checking 2019-01-16 12:07:40 +01:00
Deukhoofd 2ef06b3fd7
Make enums be considered userdata, and not numbers. Allow C# functions that consume enums to use both numbers and userdata 2019-01-16 10:50:22 +01:00
Deukhoofd 0a034013ea
Add Userdata equality operators 2019-01-14 14:44:31 +01:00
Deukhoofd 0a8648ce80
Better handling of unknown indexing 2019-01-14 14:40:16 +01:00
Deukhoofd cd140603dd
Don't try and index a variable we don't know the type of 2019-01-14 14:30:56 +01:00
Deukhoofd 11092c11ff
Save module dependencies in script, so we can easily read these 2018-12-14 18:48:53 +01:00
Deukhoofd e78ad21d0e
Allow for clearing a module from cache 2018-12-14 17:54:35 +01:00
Deukhoofd 9ca70e8346
Show full path of module directory when module is missing 2018-12-14 17:51:57 +01:00