Commit Graph

286 Commits

Author SHA1 Message Date
e5ea4d0fde Fix nested return not working 2018-11-16 14:47:03 +01:00
47e2dadb8d Way better handling of calling functions from CSHarp 2018-11-16 14:46:12 +01:00
62ad100aee More logical handling of return values 2018-11-16 14:11:27 +01:00
62f31ef0d3 Fix Ycicle arguments not persisting 2018-11-16 13:55:31 +01:00
7c6d847adb Handle function returns 2018-11-16 13:45:03 +01:00
eff60375ea Bind functions even when they're not called, but with Unknown type parameters 2018-11-15 20:54:44 +01:00
da6e95bfac Resolve function parameter types by checking calls to the function 2018-11-15 20:48:52 +01:00
d5c8a959fb Add Function Calling 2018-11-15 20:13:53 +01:00
07660b6c46 Implement defining functions 2018-11-15 15:51:05 +01:00
58b5a7355e Fixes type changing when initially nil 2018-11-14 17:10:06 +01:00
d6057ae954 Tweaks for tests, allow for grabbing global scope variables 2018-11-14 17:04:04 +01:00
7e1edbe3f1 Properly handle scopes 2018-11-14 16:39:52 +01:00
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
3efa6a6359 Adds Nil 2018-11-14 13:45:49 +01:00
d34e5c85c7 Renamed Boolean to differentiate from system boolean type 2018-11-14 13:10:24 +01:00
deefe43d9f Reworked bound variables into specific LuaType class instead of anonymous objects 2018-11-14 13:09:01 +01:00
dff1ddc0ba Cleanup and reorganization 2018-11-14 12:44:44 +01:00
bb5d8140e4 Initial work on compilation to C# 2018-11-13 17:11:20 +01:00
b9aac52476 Handle if else if (else) statements 2018-11-13 15:15:44 +01:00
56f3777053 Handle if else statements 2018-11-13 13:54:51 +01:00
1aee448999 Handle if statements 2018-11-13 12:48:50 +01:00
e5ac28bacf Fix textspan of assignments 2018-11-12 17:55:06 +01:00
0d08ceda17 Removed refactored code 2018-11-12 17:54:43 +01:00
276b267045 Fix assignment type error throwing exception 2018-11-12 17:54:35 +01:00
e9391193bb Allow for blocks of statements, instead of only single statements 2018-11-12 17:45:50 +01:00
ec7a32240f Initial work on the concept of statements 2018-11-12 16:21:59 +01:00
3d811ff801 More work on variables 2018-11-11 21:03:50 +01:00
05d0de31a0 Bind Variables 2018-11-11 20:41:24 +01:00
ac83dba77f Binds Variable Assignment 2018-11-11 20:31:55 +01:00
ce92348199 Binds parenthesized expressions 2018-11-11 20:00:06 +01:00
82dff87d4d Bind unary operators 2018-11-11 19:56:53 +01:00
4e331712a8 Handle numbers fully as lua 2018-11-11 18:19:30 +01:00
3561979ded Lots of work on type binding 2018-11-11 18:12:42 +01:00
699377cdfc Work on Diagnostics 2018-11-11 10:26:52 +01:00
ab61a01573 Handle variables 2018-11-10 17:00:39 +01:00
0693698f28 initial commit 2018-11-10 13:11:36 +01:00