Commit Graph

133 Commits

Author SHA1 Message Date
Deukhoofd c4c3f65074
Faster number lexing, better handling of exceptions in C# code
continuous-integration/drone/push Build is failing Details
2019-04-30 15:28:43 +02:00
Deukhoofd 30177e6c1e
Better handling of list.remove() 2019-02-25 13:46:06 +01:00
Deukhoofd 768c02c482
Better handling of list.contains() 2019-02-25 13:39:45 +01:00
Deukhoofd 6bc3469860
Better handling of interop 2019-02-25 13:26:27 +01:00
Deukhoofd 834d65f38e
Implemented very basic stacktrace 2019-02-21 19:53:14 +01:00
Deukhoofd 668d60ce46
Throw exception if trying to add to a fixed size IList 2019-02-21 14:21:15 +01:00
Deukhoofd 40745a1935
Log better error when trying to access out of bounds value on C# list 2019-02-21 12:18:43 +01:00
Deukhoofd 685cae2dc6
Better handling of getting valid bound type. 2019-02-19 12:59:07 +01:00
Deukhoofd d121bb2409
Handle binding of function parameter better, consider inheritance 2019-02-16 18:39:04 +01:00
Deukhoofd 8829df0ba3
Removed now deprecated behaviour where enums are always created in the static scope by default 2019-02-16 13:56:51 +01:00
Deukhoofd 859c410609
Support for creating static variables for a type using attributes 2019-02-16 13:54:10 +01:00
Deukhoofd 8da35b4e71
Make coroutine functions be forced to be created with the coroutine keyword. 2019-02-14 12:42:47 +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 a2c6943c3a
Minor changes to allow for easy registering of ScriptMethodInfoFunction 2019-02-01 19:07:08 +01:00
Deukhoofd 49531b5595
Fixed not being able to add to Userdata list 2019-01-31 14:48:45 +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 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 d641ab936f
More type support, allow inheriting types to be assigned to a function 2019-01-23 18:15:57 +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 4062d2f140
Fixes for types sometimes choosing type they inherit from instead of themselves 2019-01-22 18:32: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 7f58db1955
Handle when C# calls a script function with null as parameter 2019-01-21 14:38:01 +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 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 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 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 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 f55e6d314d
Rework type binding to allow for type awareness in iterators 2019-01-18 16:09:36 +01:00
Deukhoofd 1d6b5673d6
Reworked diagnostics, saves line positions in memory, instead of calculating later. 2019-01-16 23:57:42 +01:00
Deukhoofd 590614c34d
Handle float --> int conversions more like we'd expect 2018-12-11 16:10:08 +01:00
Deukhoofd e57129e116
Work on calling CSharp methods 2018-12-11 15:50:24 +01:00