Commit Graph

130 Commits

Author SHA1 Message Date
Deukhoofd 8da35b4e71
Make coroutine functions be forced to be created with the coroutine keyword. 2019-02-14 12:42:47 +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 a2c6943c3a
Minor changes to allow for easy registering of ScriptMethodInfoFunction 2019-02-01 19:07:08 +01:00
Deukhoofd 947904f097
Make sure condition for if statement is a boolean 2019-01-31 15:18:21 +01:00
Deukhoofd 65ae6f6f06
Better binding for index expressions 2019-01-26 13:23:12 +01:00
Deukhoofd c7bb42711a
Fix binding functions return types not always working 2019-01-23 15:33:17 +01:00
Deukhoofd 364e71198e
Better handling of binding when dealing with unknown userdata 2019-01-23 13:40:10 +01:00
Deukhoofd faaca91265
More fixes for function binding 2019-01-23 13:15:19 +01:00
Deukhoofd 87a533ac2b
Fix table variable assignment in generic for loop not binding to proper symbol 2019-01-23 12:48:00 +01:00
Deukhoofd 4062d2f140
Fixes for types sometimes choosing type they inherit from instead of themselves 2019-01-22 18:32:29 +01:00
Deukhoofd 284ba2cf54
Better error handling 2019-01-22 12:28:21 +01:00
Deukhoofd a413c5ecd4
Show better error position if table assignment statement is a bad statement 2019-01-21 18:56:32 +01:00
Deukhoofd e5f08d5859
Fix function calls in fullstop index expressions not binding properly 2019-01-21 18:45:02 +01:00
Deukhoofd 224db6f237
Remove weird requirement that table indexing should always be a string or number 2019-01-21 16:13:18 +01:00
Deukhoofd b73982237c
Fix wrong error message 2019-01-21 14:37:43 +01:00
Deukhoofd ca9361cd0f
Handle bound types when they ar enot yet set 2019-01-21 11:34:44 +01:00
Deukhoofd 01d408e5fd
Fixes for modules and function binding 2019-01-20 22:57:18 +01:00
Deukhoofd b9183be4e7
Fixes for script binding not working 2019-01-20 22:27:47 +01:00
Deukhoofd 898cabb237
Better support for method overloading 2019-01-20 21:00:01 +01:00
Deukhoofd 3c0e5f5b13
Allow parameter overloading script functions 2019-01-20 15:01:18 +01:00
Deukhoofd 43da2b3d19
Properly handle full composite key binding in for loops 2019-01-19 18:05:55 +01:00
Deukhoofd fd8f7bf9f8
Support for casting to other types 2019-01-19 17:13:53 +01:00
Deukhoofd 96b0959bd6
Reworked type handling to handle userdata more easily 2019-01-19 16:38:33 +01:00
Deukhoofd fcd26f4cc0
Remove test exception 2019-01-19 14:18:43 +01:00
Deukhoofd e44116b2cd
Don't allow using indexing to access local variables 2019-01-19 14:12:16 +01:00
Deukhoofd bee6fad947
Fix complex table/function variable handling 2019-01-18 16:41:03 +01:00
Deukhoofd f55e6d314d
Rework type binding to allow for type awareness in iterators 2019-01-18 16:09:36 +01:00
Deukhoofd c1fd6081fd
Better handling of finding bottom node 2019-01-17 18:34:58 +01:00
Deukhoofd f903a3ca58
Better error reporter 2019-01-17 17:48:10 +01:00
Deukhoofd 0a8648ce80
Better handling of unknown indexing 2019-01-14 14:40:16 +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 9ca70e8346
Show full path of module directory when module is missing 2018-12-14 17:51:57 +01:00
Deukhoofd 07043e1ab4
Fixes for binding 2018-12-13 19:04:23 +01:00
Deukhoofd 898a18a60a
Bind User Data methods 2018-12-12 17:28:12 +01:00
Deukhoofd e741e9c355
Made resolvevariable in binder public static so VS Code extension can use it 2018-12-12 16:34:47 +01:00
Deukhoofd 43d9360145
Various changes and tweaks to run better 2018-12-08 16:18:38 +01:00
Deukhoofd 986d00b1a0
Handle chained function call expressions 2018-12-07 20:15:39 +01:00
Deukhoofd 2327e18f77
Fixed exception on adding variable to table of which we dont know the context 2018-12-07 20:07:24 +01:00
Deukhoofd eb1eb81c1b
Implements while loops 2018-12-07 19:17:49 +01:00
Deukhoofd fa967383d6
Fix for exception when userdata method call does not exist 2018-12-07 18:53:56 +01:00
Deukhoofd f638c25483
Fixes for binding table contents when binder can't be aware of table contents, such as with CSharp calls 2018-12-07 18:23:50 +01:00
Deukhoofd bbab802f2d
Fixes for binding userdata method types 2018-12-07 18:15:17 +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 edd352e62a
Better error reporting if unable to find module 2018-12-07 14:41:19 +01:00
Deukhoofd 247ac10f17
Fixed BadExpression throwing exceptions 2018-12-07 14:08:32 +01:00
Deukhoofd e48a89e70d
Changed how modules bind so that they can override existing variables 2018-12-07 13:51:43 +01:00
Deukhoofd 98e5c1c136
Reworked modules, they now should bind properly 2018-12-07 13:49:51 +01:00
Deukhoofd 5b0ce2e52c
General fixes tweaks and things 2018-12-03 18:32:27 +01:00