Commit Graph

  • e3def29f7e One day CI is actually going to drive me over the edge master Deukhoofd 2019-04-30 16:46:15 +02:00
  • a000793051 Hopefully this fixes the unit tests not running Deukhoofd 2019-04-30 16:44:24 +02:00
  • b9a410fd71 Updated xUnit version Deukhoofd 2019-04-30 16:36:34 +02:00
  • 21a40fbcbf Update to .NET Core 2.2 Deukhoofd 2019-04-30 16:32:30 +02:00
  • 3c65f1fc13 Add XUnit tool reference Deukhoofd 2019-04-30 16:22:20 +02:00
  • 8e6eb42b7e More work on CI Deukhoofd 2019-04-30 16:19:41 +02:00
  • 648b6dabb0 Tweaked CI Deukhoofd 2019-04-30 15:31:44 +02:00
  • c4c3f65074 Faster number lexing, better handling of exceptions in C# code Deukhoofd 2019-04-30 15:28:43 +02:00
  • a9dbb2c1ed Added CI Deukhoofd 2019-04-30 14:02:30 +02:00
  • 30177e6c1e Better handling of list.remove() Deukhoofd 2019-02-25 13:46:06 +01:00
  • 768c02c482 Better handling of list.contains() Deukhoofd 2019-02-25 13:39:45 +01:00
  • 6bc3469860 Better handling of interop Deukhoofd 2019-02-25 13:26:27 +01:00
  • 834d65f38e Implemented very basic stacktrace Deukhoofd 2019-02-21 19:53:14 +01:00
  • 668d60ce46 Throw exception if trying to add to a fixed size IList Deukhoofd 2019-02-21 14:21:15 +01:00
  • f1ae0af244 Don't attempt to get surrounding text of error when we don't have access to script string anymore. Deukhoofd 2019-02-21 12:19:11 +01:00
  • 40745a1935 Log better error when trying to access out of bounds value on C# list Deukhoofd 2019-02-21 12:18:43 +01:00
  • 685cae2dc6 Better handling of getting valid bound type. Deukhoofd 2019-02-19 12:59:07 +01:00
  • 18ca112624 Don't allow indexing unregistered types on evaluation Deukhoofd 2019-02-19 12:48:57 +01:00
  • 02fb3867e1 Throw error if for some reason the execution of a statement in a coroutine returns null Deukhoofd 2019-02-17 17:54:14 +01:00
  • 72623036a8 Ignore it if there's two properties on a type with the same name Deukhoofd 2019-02-17 17:53:39 +01:00
  • 812ec7137b Fix coroutines breaking on if statements Deukhoofd 2019-02-17 17:53:22 +01:00
  • d121bb2409 Handle binding of function parameter better, consider inheritance Deukhoofd 2019-02-16 18:39:04 +01:00
  • 73a0d64bed Fixed bound Func variables having Nil as return type Deukhoofd 2019-02-16 17:05:05 +01:00
  • 59909b0d53 Allow non-standard libraries to have a script pass variable as well Deukhoofd 2019-02-16 16:13:28 +01:00
  • 80afeacda6 Fixed issues where userdata types could sometimes cause crashes Deukhoofd 2019-02-16 15:24:30 +01:00
  • 8829df0ba3 Removed now deprecated behaviour where enums are always created in the static scope by default Deukhoofd 2019-02-16 13:56:51 +01:00
  • 78779588d4 Fix error when returning a C# type from a script function Deukhoofd 2019-02-16 13:56:18 +01:00
  • 859c410609 Support for creating static variables for a type using attributes Deukhoofd 2019-02-16 13:54:10 +01:00
  • 93e256218d Adds simple string library Deukhoofd 2019-02-16 13:30:22 +01:00
  • 8da35b4e71 Make coroutine functions be forced to be created with the coroutine keyword. Deukhoofd 2019-02-14 12:42:47 +01:00
  • dbf4d8a82e Fix coroutines yielding the same value twice Deukhoofd 2019-02-14 12:38:30 +01:00
  • b475bd4495 Added support for coroutines Deukhoofd 2019-02-13 18:10:39 +01:00
  • 237f2fefd9 Refactor evaluation to not be handled in a single large class Deukhoofd 2019-02-13 16:29:58 +01:00
  • 4790cc74d2 Fixed issue where when throwing "function not found" error with no parameters would throw a useless exception Deukhoofd 2019-02-03 14:24:13 +01:00
  • a2c6943c3a Minor changes to allow for easy registering of ScriptMethodInfoFunction Deukhoofd 2019-02-01 19:07:08 +01:00
  • 947904f097 Make sure condition for if statement is a boolean Deukhoofd 2019-01-31 15:18:21 +01:00
  • 2e08669509 Fixed issue when startline is EOF Deukhoofd 2019-01-31 15:13:26 +01:00
  • 49531b5595 Fixed not being able to add to Userdata list Deukhoofd 2019-01-31 14:48:45 +01:00
  • da10ac2f1a Allow adding string to number Deukhoofd 2019-01-31 14:46:12 +01:00
  • ce030c484f Fix ListUserData erroring on type retrieval Deukhoofd 2019-01-26 14:08:18 +01:00
  • ee36060dd6 Fixed tables in script runtime functions breaking Deukhoofd 2019-01-26 14:03:22 +01:00
  • 65ae6f6f06 Better binding for index expressions Deukhoofd 2019-01-26 13:23:12 +01:00
  • eeecd0225a More better error handling Deukhoofd 2019-01-26 12:15:15 +01:00
  • 7e50111724 Better evaluation error handling Deukhoofd 2019-01-25 17:22:07 +01:00
  • 575889bed1 Fix issue where unknown types would bind to the first available type, as they inherit from system.object Deukhoofd 2019-01-25 16:03:00 +01:00
  • 493a8ebb9d Don't try and type check function parameters if they're not bound Deukhoofd 2019-01-23 18:22:56 +01:00
  • d641ab936f More type support, allow inheriting types to be assigned to a function Deukhoofd 2019-01-23 18:15:57 +01:00
  • c7bb42711a Fix binding functions return types not always working Deukhoofd 2019-01-23 15:33:17 +01:00
  • ac12fbb60d Handle interop better Deukhoofd 2019-01-23 15:04:10 +01:00
  • 364e71198e Better handling of binding when dealing with unknown userdata Deukhoofd 2019-01-23 13:40:10 +01:00
  • faaca91265 More fixes for function binding Deukhoofd 2019-01-23 13:15:19 +01:00
  • 87a533ac2b Fix table variable assignment in generic for loop not binding to proper symbol Deukhoofd 2019-01-23 12:48:00 +01:00
  • 29818dad31 Fix internal function variables not binding properly when allowing all objects Deukhoofd 2019-01-23 11:54:35 +01:00
  • aa2539ad20 Handle object parameter for functions better Deukhoofd 2019-01-22 20:35:41 +01:00
  • b743759146 Lock Variables while adding to it to prevent threading issues Deukhoofd 2019-01-22 20:35:23 +01:00
  • 4062d2f140 Fixes for types sometimes choosing type they inherit from instead of themselves Deukhoofd 2019-01-22 18:32:29 +01:00
  • 8bd5f7d0af Lock evaluation scope when not created to prevent threading issues Deukhoofd 2019-01-22 16:53:22 +01:00
  • 750d5dab8d Fix bound types not considering interfaces inheriting from other interfaces Deukhoofd 2019-01-22 14:39:29 +01:00
  • 613e9dcb09 Fix parameters complaining they're not valid when they are valid Deukhoofd 2019-01-22 13:39:57 +01:00
  • 284ba2cf54 Better error handling Deukhoofd 2019-01-22 12:28:21 +01:00
  • cd6384614b Handle generic inheritance for checking if type is valid for function parameter Deukhoofd 2019-01-22 11:51:12 +01:00
  • a413c5ecd4 Show better error position if table assignment statement is a bad statement Deukhoofd 2019-01-21 18:56:32 +01:00
  • e5f08d5859 Fix function calls in fullstop index expressions not binding properly Deukhoofd 2019-01-21 18:45:02 +01:00
  • a9f6b682dc Fix unknown parameters in userdata functions not allowing types Deukhoofd 2019-01-21 16:22:22 +01:00
  • 224db6f237 Remove weird requirement that table indexing should always be a string or number Deukhoofd 2019-01-21 16:13:18 +01:00
  • bb51fb3853 Hack to allow binary operators on userdata Deukhoofd 2019-01-21 16:07:24 +01:00
  • 97f3a4d879 Fix binding functions when no access to direct types Deukhoofd 2019-01-21 15:09:43 +01:00
  • 30c3223cb4 Fix binding of calling C# methods not working Deukhoofd 2019-01-21 14:38:15 +01:00
  • 7f58db1955 Handle when C# calls a script function with null as parameter Deukhoofd 2019-01-21 14:38:01 +01:00
  • b73982237c Fix wrong error message Deukhoofd 2019-01-21 14:37:43 +01:00
  • 47a80d2153 Fixed ListUserData type being unknown Deukhoofd 2019-01-21 14:03:11 +01:00
  • e74d061177 Adds remove functions for table to list helper standard library Deukhoofd 2019-01-21 13:52:02 +01:00
  • 44bfc90fe3 Better handling of getting composite script types Deukhoofd 2019-01-21 13:37:51 +01:00
  • 86f47ae002 Fix binding issue on evaluation Deukhoofd 2019-01-21 12:57:30 +01:00
  • ca9361cd0f Handle bound types when they ar enot yet set Deukhoofd 2019-01-21 11:34:44 +01:00
  • 1955515f22 Override function if function with exact same parameters was already defined Deukhoofd 2019-01-20 23:34:46 +01:00
  • 9aea17c445 tostring for ListUserData Deukhoofd 2019-01-20 23:09:08 +01:00
  • 01d408e5fd Fixes for modules and function binding Deukhoofd 2019-01-20 22:57:18 +01:00
  • 3737ac826c Adds basics of new list helper library Deukhoofd 2019-01-20 22:28:02 +01:00
  • b9183be4e7 Fixes for script binding not working Deukhoofd 2019-01-20 22:27:47 +01:00
  • 20dfcf6ec6 Support ScriptBoolean returns from bound C# functions Deukhoofd 2019-01-20 22:27:19 +01:00
  • 898cabb237 Better support for method overloading Deukhoofd 2019-01-20 21:00:01 +01:00
  • 921abce011 Fixes for function execution when parameter is not bound Deukhoofd 2019-01-20 15:17:06 +01:00
  • 3c0e5f5b13 Allow parameter overloading script functions Deukhoofd 2019-01-20 15:01:18 +01:00
  • 43da2b3d19 Properly handle full composite key binding in for loops Deukhoofd 2019-01-19 18:05:55 +01:00
  • 246aba3e95 Fixed issue with userdata type on evaluation Deukhoofd 2019-01-19 17:50:54 +01:00
  • cf023af50d Minor fixes Deukhoofd 2019-01-19 17:27:56 +01:00
  • fd8f7bf9f8 Support for casting to other types Deukhoofd 2019-01-19 17:13:53 +01:00
  • 96b0959bd6 Reworked type handling to handle userdata more easily Deukhoofd 2019-01-19 16:38:33 +01:00
  • 6552e153d0 Add TypeContainer toString overrides Deukhoofd 2019-01-19 14:21:36 +01:00
  • fcd26f4cc0 Remove test exception Deukhoofd 2019-01-19 14:18:43 +01:00
  • d2d7b985b2 We need access to FunctionParameters at binding in other libraries Deukhoofd 2019-01-19 14:15:17 +01:00
  • e44116b2cd Don't allow using indexing to access local variables Deukhoofd 2019-01-19 14:12:16 +01:00
  • bee6fad947 Fix complex table/function variable handling Deukhoofd 2019-01-18 16:41:03 +01:00
  • f55e6d314d Rework type binding to allow for type awareness in iterators Deukhoofd 2019-01-18 16:09:25 +01:00
  • 64aedceb85 Fix finding bottom node when two nodes are on the same line not working Deukhoofd 2019-01-17 19:24:00 +01:00
  • c1fd6081fd Better handling of finding bottom node Deukhoofd 2019-01-17 18:34:58 +01:00
  • f903a3ca58 Better error reporter Deukhoofd 2019-01-17 17:48:10 +01:00
  • d341318989 Fix issues with identifier spans Deukhoofd 2019-01-17 17:33:53 +01:00
  • 1e7fc7629e Adds GetChildren method for boundNodes Deukhoofd 2019-01-17 13:56:53 +01:00