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
cd140603dd
Don't try and index a variable we don't know the type of
2019-01-14 14:30:56 +01:00
Deukhoofd
11092c11ff
Save module dependencies in script, so we can easily read these
2018-12-14 18:48:53 +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
efea92d32a
Make Script conversion at end of execution use Type Binder, general Type Binder fixes
2018-12-10 17:52:15 +01:00
Deukhoofd
88e4b92b6a
Fixed while/for loops not returning from function
2018-12-10 17:03:04 +01:00
Deukhoofd
1e1fa06d12
Make setting a script variable to nil remove that variable
2018-12-09 19:02:35 +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
5d7f155550
Handle conversion for enumerables
2018-12-09 15:51:16 +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
b0450d3bf5
Show file name in error messages, to handle errors from modules easier
2018-12-07 14:51:02 +01:00
Deukhoofd
98e5c1c136
Reworked modules, they now should bind properly
2018-12-07 13:49:51 +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
7ee230e20c
Handle warnings, and add a warning if a function parameter has an unknown type
2018-11-28 10:56:35 +01:00
Deukhoofd
dd8569ecb0
Fixes diagnostics breaking when using ContinueWith function
2018-11-27 17:40:54 +01:00
Deukhoofd
8b08aea404
Dont save data comments if disabled through options
2018-11-27 12:35:20 +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
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
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