Commit Graph

81 Commits

Author SHA1 Message Date
Deukhoofd f903a3ca58
Better error reporter 2019-01-17 17:48:10 +01:00
Deukhoofd 1d6b5673d6
Reworked diagnostics, saves line positions in memory, instead of calculating later. 2019-01-16 23:57:42 +01:00
Deukhoofd 2bdb469b6f
Resolve issue where code wouldnt fully execute 2018-12-12 17:58:35 +01:00
Deukhoofd a4cdaa5b05
Some initial work for debugging 2018-12-11 18:31:54 +01:00
Deukhoofd e57129e116
Work on calling CSharp methods 2018-12-11 15:50:24 +01:00
Deukhoofd 88e4b92b6a
Fixed while/for loops not returning from function 2018-12-10 17:03:04 +01:00
Deukhoofd ff9eac888f
Reworked script enumerator to not be overriden by generic enumerator 2018-12-09 18:23:06 +01:00
Deukhoofd beac043995
Don't reset scope when function is executed 2018-12-09 17:50:09 +01:00
Deukhoofd 74bc57bb1a
Fix while loops not breaking 2018-12-09 14:33:04 +01:00
Deukhoofd 6e960e38ff
Split script tables in numerically keyed and generically keyed 2018-12-09 13:23:09 +01:00
Deukhoofd 92586e4939
Fixes for equality 2018-12-09 11:45:38 +01:00
Deukhoofd e1b9bb2002
Reworked evaluating of and and or 2018-12-09 11:29:11 +01:00
Deukhoofd 43d9360145
Various changes and tweaks to run better 2018-12-08 16:18:38 +01:00
Deukhoofd eb1eb81c1b
Implements while loops 2018-12-07 19:17:49 +01:00
Deukhoofd bbab802f2d
Fixes for binding userdata method types 2018-12-07 18:15:17 +01:00
Deukhoofd 9bd82174f2
Implements remainder and exponent operators 2018-12-07 15:29:46 +01:00
Deukhoofd f504a8706e
Fix null reference error in evaluator 2018-12-07 15:17:24 +01:00
Deukhoofd 7996420ee5
Fixes for require 2018-12-06 15:32:07 +01:00
Deukhoofd 5b0ce2e52c
General fixes tweaks and things 2018-12-03 18:32:27 +01:00
Deukhoofd 6ba3860e84
Implement number comparison operators 2018-12-03 16:05:14 +01:00
Deukhoofd f08d1c2541
Reworked function handling, support for type checking internal CSharp functions 2018-11-30 15:28:36 +01:00
Deukhoofd 9e27778af1
Support for passing Script reference to functions. useful when options are required for function 2018-11-30 11:31:45 +01:00
Deukhoofd 3a3ed071d2
Move ScriptFunctions to own namespace 2018-11-30 11:15:52 +01:00
Deukhoofd af0ff235e1
Fixes script --> C# function calls not working 2018-11-28 21:23:08 +01:00
Deukhoofd babbf2875f
Type check when calling script function from CSharp 2018-11-28 20:53:45 +01:00
Deukhoofd cefe48cb4b
Handle empty return statements 2018-11-28 14:13:39 +01:00
Deukhoofd 55206f3807
Changed function variable declarations to BoundVariableSymbols 2018-11-25 21:44:03 +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 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 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 1e9b0e0166
Some initial work on standard libraries 2018-11-21 20:59:27 +01:00
Deukhoofd 68830a1676
Don't bind/evaluate variable value if the name is just an underscore 2018-11-21 17:25:12 +01:00
Deukhoofd 4ab755d0d2
Support for assigning multiple variables from a table 2018-11-21 17:18:35 +01:00
Deukhoofd 105c40bc05
Special UserData types for ILists(includes arrays) and IDictionaries 2018-11-21 14:49:59 +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 fe4a8d25ad
Message reporting if indexable value does not exist 2018-11-20 17:33:51 +01:00
Deukhoofd df8c7b99c9
Made indexable also work with full stop index 2018-11-20 14:05:34 +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 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