Commit Graph

63 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 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 685cae2dc6
Better handling of getting valid bound type. 2019-02-19 12:59:07 +01:00
Deukhoofd 93e256218d
Adds simple string library 2019-02-16 13:30:22 +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 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 f55e6d314d
Rework type binding to allow for type awareness in iterators 2019-01-18 16:09:36 +01:00
Deukhoofd ac05647d71
Reworked script function attribute, added initial math library 2018-12-07 16:11:52 +01:00
Deukhoofd b7d01b02f1
Exception throwing when required, and fixes for unit tests 2018-11-26 17:23:56 +01:00
Deukhoofd 74da87d936
Work on new execution start path 2018-11-26 16:55:10 +01:00
Deukhoofd a66b1abbf5
Better comments 2018-11-26 13:59:57 +01:00
Deukhoofd cae3d7fb53
Lots of work for handling incomplete code and inspections better 2018-11-25 19:30:18 +01:00
Deukhoofd cd04486d16
Adds Unary length operator 2018-11-24 15:11:33 +01:00
Deukhoofd 2dc59c5f8b
Adds tostring and type functions 2018-11-24 14:49:20 +01:00
Deukhoofd 194e7236c4
Unit tests for ipairs and pairs, as well as changing how they handle null. ipairs now breaks at first nil value, pairs skips it 2018-11-24 14:39:53 +01:00
Deukhoofd 13ac6f2754
Rework for loops to use iterators, requiring pairs or ipairs function to handle multi-assignment 2018-11-24 14:35:23 +01:00
Deukhoofd c63df3c941
Work on standard libraries.
- Allows Standard Libraries to work with actual luatypes, to prevent constant back and forth casting
- adds ipairs function, doesn't do anything except maintain compatibility with lua
- several tests
2018-11-24 13:35:40 +01:00
Deukhoofd 9be1cfa1fc
Fixes issue where functions inside binary operators wouldnt work 2018-11-24 12:55:51 +01:00
Deukhoofd 62a18e22d4
Fixed Scoping issue 2018-11-24 12:42:54 +01:00
Deukhoofd 638394d25b
Generic For Loops 2018-11-23 18:18:07 +01:00
Deukhoofd 2db4d0607e
Implements break statement 2018-11-23 15:27:48 +01:00
Deukhoofd d2c14d213c
Add Numeric For Loops 2018-11-23 14:38:45 +01:00
Deukhoofd 1928979b40
More unit tests 2018-11-23 13:34:46 +01:00
Deukhoofd d6e18d9b0c
Better handling of Static Scope 2018-11-23 13:28:11 +01:00
Deukhoofd ea24695128
Fixes binder assigning values to static read only scope 2018-11-23 13:18:49 +01:00
Deukhoofd aae16e8b62
General fixes for Tests 2018-11-23 12:55:28 +01:00
Deukhoofd 1e9b0e0166
Some initial work on standard libraries 2018-11-21 20:59:27 +01:00
Deukhoofd 105c40bc05
Special UserData types for ILists(includes arrays) and IDictionaries 2018-11-21 14:49:59 +01:00
Deukhoofd 8dd2be8c67
Better error handling for setting userdata values 2018-11-21 14:04:43 +01:00
Deukhoofd 605b98284d
Handle Unary operator overloading for UserData 2018-11-21 13:54:41 +01:00
Deukhoofd c627100e9c
Handle Binary operator overloading for UserData 2018-11-21 13:47:16 +01:00
Deukhoofd 0702b9f271
Allows for overloaded functions in CSharp to be used, initial work on handling CSHarp operators 2018-11-21 13:08:41 +01:00
Deukhoofd fe4a8d25ad
Message reporting if indexable value does not exist 2018-11-20 17:33:51 +01:00
Deukhoofd 8f6d2591f3
Make userdata fields/properties/methods case insensitive
While this can potentially cause collisions, this allows us to easily use Lua's style guide
2018-11-20 14:17:15 +01:00
Deukhoofd 066af47b5b
Work on calling CSharp functions from Lua 2018-11-20 12:55:41 +01:00
Deukhoofd d1b1675bba
Added UserData support 2018-11-19 17:22:25 +01:00
Deukhoofd 7d551b6313
Adds assignment to tables 2018-11-19 16:22:13 +01:00
Deukhoofd 86447d0a36
Made strings indexable 2018-11-19 13:53:44 +01:00
Deukhoofd b3b26964cc
More fixes for scope 2018-11-19 12:49:48 +01:00
Deukhoofd 1f57eed3e7
Reworked scope again 2018-11-19 12:17:21 +01:00
Deukhoofd 860f2cc7e5
Lots of work on rewriting functions to allow more functionality 2018-11-18 22:22:30 +01:00
Deukhoofd dd9f5416a0
More work on nesting 2018-11-18 20:20:03 +01:00
Deukhoofd d8f7651de7
work on nested tables, will need some cleanup later 2018-11-18 16:08:20 +01:00
Deukhoofd 3d4e6380ea
Functionality for indexing tables 2018-11-18 14:18:24 +01:00
Deukhoofd a631d3b377
Make LuaTypes internal, and only return the actual values 2018-11-17 12:40:28 +01:00
Deukhoofd f74992e47b
Add parameterized callable functions from CSharp 2018-11-16 14:58:15 +01:00
Deukhoofd 47e2dadb8d
Way better handling of calling functions from CSHarp 2018-11-16 14:46:12 +01:00