Commit Graph

315 Commits

Author SHA1 Message Date
Deukhoofd 21a40fbcbf
Update to .NET Core 2.2
continuous-integration/drone/push Build is failing Details
2019-04-30 16:32:30 +02:00
Deukhoofd 3c65f1fc13
Add XUnit tool reference
continuous-integration/drone/push Build is failing Details
2019-04-30 16:22:20 +02:00
Deukhoofd 8e6eb42b7e
More work on CI
continuous-integration/drone/push Build is failing Details
2019-04-30 16:19:41 +02:00
Deukhoofd 648b6dabb0
Tweaked CI
continuous-integration/drone/push Build is failing Details
2019-04-30 15:31:44 +02:00
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 a9dbb2c1ed
Added CI 2019-04-30 14:02:30 +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 f1ae0af244
Don't attempt to get surrounding text of error when we don't have access to script string anymore. 2019-02-21 12:19:11 +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 18ca112624
Don't allow indexing unregistered types on evaluation 2019-02-19 12:48:57 +01:00
Deukhoofd 02fb3867e1
Throw error if for some reason the execution of a statement in a coroutine returns null 2019-02-17 17:54:14 +01:00
Deukhoofd 72623036a8
Ignore it if there's two properties on a type with the same name 2019-02-17 17:53:39 +01:00
Deukhoofd 812ec7137b
Fix coroutines breaking on if statements 2019-02-17 17:53:22 +01:00
Deukhoofd d121bb2409
Handle binding of function parameter better, consider inheritance 2019-02-16 18:39:04 +01:00
Deukhoofd 73a0d64bed
Fixed bound Func variables having Nil as return type 2019-02-16 17:05:05 +01:00
Deukhoofd 59909b0d53
Allow non-standard libraries to have a script pass variable as well 2019-02-16 16:13:28 +01:00
Deukhoofd 80afeacda6
Fixed issues where userdata types could sometimes cause crashes 2019-02-16 15:24:30 +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 78779588d4
Fix error when returning a C# type from a script function 2019-02-16 13:56:18 +01:00
Deukhoofd 859c410609
Support for creating static variables for a type using attributes 2019-02-16 13:54:10 +01:00
Deukhoofd 93e256218d
Adds simple string library 2019-02-16 13:30:22 +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 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