Commit Graph

59 Commits

Author SHA1 Message Date
Deukhoofd a0861e090f
Work on type checking variables when getting them from tables 2018-11-27 14:37:58 +01:00
Deukhoofd dca8773e54
Allow accessing variables inside a table from the variable symbol 2018-11-27 14:15:45 +01:00
Deukhoofd b7d01b02f1
Exception throwing when required, and fixes for unit tests 2018-11-26 17:23:56 +01:00
Deukhoofd 15ce180b8c
Allow assigning comment info to all variables 2018-11-26 15:05:20 +01:00
Deukhoofd 963245c9e7
Support for storing comments about specific variables 2018-11-26 14:50:46 +01:00
Deukhoofd 55206f3807
Changed function variable declarations to BoundVariableSymbols 2018-11-25 21:44:03 +01:00
Deukhoofd 5f9c32874a
Diagnostic for invalid number of parameters 2018-11-25 20:55:36 +01:00
Deukhoofd cae3d7fb53
Lots of work for handling incomplete code and inspections better 2018-11-25 19:30:18 +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 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 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 df8c7b99c9
Made indexable also work with full stop index 2018-11-20 14:05:34 +01:00
Deukhoofd 7d551b6313
Adds assignment to tables 2018-11-19 16:22:13 +01:00
Deukhoofd f4ae57c550
Fix Binder not allowing setting variables due to parent scope 2018-11-19 14:45:20 +01:00
Deukhoofd c4962ac24c
Removed accidental syntax 2018-11-19 14:30:00 +01:00
Deukhoofd 2787d947b5
Better error message if type is not indexable with type 2018-11-19 14:29:35 +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 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 44a2048153
Better evaluating of tables, allows things like functions to be added to tables as well 2018-11-17 19:45:24 +01:00
Deukhoofd 6a396d6368
Adds Tables 2018-11-17 19:13:05 +01:00
Deukhoofd 2baf2b223e
Adds support for strings 2018-11-17 15:57:26 +01:00
Deukhoofd c013ed38c6
Fix continuing with previous script scope 2018-11-17 13:05:08 +01:00
Deukhoofd a631d3b377
Make LuaTypes internal, and only return the actual values 2018-11-17 12:40:28 +01:00
Deukhoofd 47e2dadb8d
Way better handling of calling functions from CSHarp 2018-11-16 14:46:12 +01:00
Deukhoofd 62ad100aee
More logical handling of return values 2018-11-16 14:11:27 +01:00
Deukhoofd 62f31ef0d3
Fix Ycicle arguments not persisting 2018-11-16 13:55:31 +01:00
Deukhoofd 7c6d847adb
Handle function returns 2018-11-16 13:45:03 +01:00
Deukhoofd eff60375ea
Bind functions even when they're not called, but with `Unknown` type parameters 2018-11-15 20:54:44 +01:00
Deukhoofd da6e95bfac
Resolve function parameter types by checking calls to the function 2018-11-15 20:48:52 +01:00
Deukhoofd d5c8a959fb
Add Function Calling 2018-11-15 20:13:53 +01:00
Deukhoofd 07660b6c46
Implement defining functions 2018-11-15 15:51:05 +01:00
Deukhoofd 58b5a7355e
Fixes type changing when initially nil 2018-11-14 17:10:06 +01:00
Deukhoofd 7e1edbe3f1
Properly handle scopes 2018-11-14 16:39:52 +01:00
Deukhoofd 82e13a85e2
Change Binder variable type if value is assigned to null variable, or null is assigned to a variable type 2018-11-14 13:58:12 +01:00
Deukhoofd 3efa6a6359
Adds Nil 2018-11-14 13:45:49 +01:00
Deukhoofd d34e5c85c7
Renamed Boolean to differentiate from system boolean type 2018-11-14 13:10:24 +01:00
Deukhoofd deefe43d9f
Reworked bound variables into specific LuaType class instead of anonymous objects 2018-11-14 13:09:01 +01:00
Deukhoofd b9aac52476
Handle if else if (else) statements 2018-11-13 15:15:44 +01:00
Deukhoofd 56f3777053
Handle if else statements 2018-11-13 13:54:51 +01:00
Deukhoofd 1aee448999
Handle if statements 2018-11-13 12:48:50 +01:00