Commit Graph

184 Commits

Author SHA1 Message Date
Deukhoofd 2e0ac29878
Implements setting to CSHarp lists 2018-12-09 14:05:17 +01:00
Deukhoofd b63e8d37b5
Even better equality checking 2018-12-09 13:47:13 +01:00
Deukhoofd 6e960e38ff
Split script tables in numerically keyed and generically keyed 2018-12-09 13:23:09 +01:00
Deukhoofd 2d6e3335aa
Adds print basic command 2018-12-09 13:01:03 +01:00
Deukhoofd fb2af879c9
Fixes for binder not being able to get proper method 2018-12-09 12:25:29 +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 422de5d4eb
Rework of function calling to handle generics better 2018-12-09 11:28:27 +01:00
Deukhoofd 43d9360145
Various changes and tweaks to run better 2018-12-08 16:18:38 +01:00
Deukhoofd f6947194b9
Support for easy loading assemblies, and instantly creating enums in the static scope 2018-12-08 11:30:22 +01:00
Deukhoofd 986d00b1a0
Handle chained function call expressions 2018-12-07 20:15:39 +01:00
Deukhoofd 77be6fd996
Support single quote strings 2018-12-07 20:15:27 +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 229fe3bffa
Fixed wrong error location reporting 2018-12-07 19:29:09 +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 e8369bb672
Implements math library 2018-12-07 18:51:37 +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 99ac02924b
Handle overloads better 2018-12-07 16:51:17 +01:00
Deukhoofd ac05647d71
Reworked script function attribute, added initial math library 2018-12-07 16:11:52 +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 edd352e62a
Better error reporting if unable to find module 2018-12-07 14:41:19 +01:00
Deukhoofd c1da2dd5b7
Fix missing span in bad expression syntax 2018-12-07 14:36:44 +01:00
Deukhoofd 247ac10f17
Fixed BadExpression throwing exceptions 2018-12-07 14:08:32 +01:00
Deukhoofd 97968ef491
Fixed removed constructor that was needed for IDEs 2018-12-07 14:05:17 +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 1caf8320b3
Fixed issue with no parameter funcs 2018-12-06 16:25:06 +01:00
Deukhoofd 4054f1d383
Fixed static scope loader not deriving types properly 2018-12-06 16:06:42 +01:00
Deukhoofd 81cd22ce28
Support for generic Actions 2018-12-06 15:45:19 +01:00
Deukhoofd 7996420ee5
Fixes for require 2018-12-06 15:32:07 +01:00
Deukhoofd 520cd1ffcc
Initial support for generic funcs 2018-12-05 17:20:28 +01:00
Deukhoofd 587c8dfff3
Minor cleanup 2018-12-05 15:18:41 +01:00
Deukhoofd 8034a11fe3
Support for Enums 2018-12-05 15:14:31 +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 a9f4ef1b65
Bind whether a variable symbol is a creation statement or just changing the variable 2018-12-02 17:26:23 +01:00
Deukhoofd 07a71129a2
Make a literal expression public 2018-12-01 13:39:39 +01:00
Deukhoofd 3867ae77ea
Support ScriptType as parameter 2018-11-30 16:51:18 +01:00
Deukhoofd 2a0cce9bac
Fixed function parameter type not setting properly when unbound 2018-11-30 16:48:38 +01:00
Deukhoofd 00178cfa82
Handling for type checking parameters of internal functions 2018-11-30 16:19:25 +01:00
Deukhoofd f08d1c2541
Reworked function handling, support for type checking internal CSharp functions 2018-11-30 15:28:36 +01:00
Deukhoofd 81a6b05b26
Actually pass script reference if requested 2018-11-30 12:09:06 +01:00
Deukhoofd 1243492453
Adds comments to basic library functions 2018-11-30 12:07:18 +01:00
Deukhoofd 1f1b8c621e
changed parameters for require function 2018-11-30 11:51:22 +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