Commit Graph

261 Commits

Author SHA1 Message Date
Deukhoofd 12c55a12ba
Cleanup of Parsed Expression classes
continuous-integration/drone/push Build is passing Details
2019-09-14 10:39:31 +02:00
Deukhoofd b462c1b873
Fixes empty script returning segmentation fault 2019-09-14 10:35:32 +02:00
Deukhoofd 45d3bc690b
Extern C support for registering function overloads
continuous-integration/drone/push Build is passing Details
2019-09-14 10:19:56 +02:00
Deukhoofd 3a9f1f976a
Fix modules without return type throwing segmentation fault
continuous-integration/drone/push Build is passing Details
2019-09-12 21:50:48 +02:00
Deukhoofd 80f3af22ac
Fix single item numerical tables being parsed as complex tables 2019-09-12 20:57:53 +02:00
Deukhoofd 0266b3c616
Better error handling for extern functions that retrieve userdata 2019-09-12 20:42:18 +02:00
Deukhoofd bae3e92577
Better error handling when variable is not found
continuous-integration/drone/push Build is passing Details
2019-09-12 18:25:18 +02:00
Deukhoofd 73142afa8a
Support for length unary operator
continuous-integration/drone/push Build is passing Details
2019-09-12 18:19:06 +02:00
Deukhoofd bd9eac9056
Better diagnostics for CantIndex error message
continuous-integration/drone/push Build is passing Details
2019-09-12 17:16:11 +02:00
Deukhoofd ff4af34478
Userdata equality should always be valid to check, even when no explicit operator is given for it 2019-09-12 17:10:44 +02:00
Deukhoofd bd343c1b7e
Allows userdata binary operations to be set externally
continuous-integration/drone/push Build is passing Details
2019-09-12 15:21:10 +02:00
Deukhoofd b94c811e94
Support Any type in function parameters
continuous-integration/drone/push Build is passing Details
2019-09-12 13:26:59 +02:00
Deukhoofd eca0c6b075
Work on userdata binary operations
continuous-integration/drone/push Build encountered an error Details
2019-09-08 13:53:24 +02:00
Deukhoofd 85936f3d68
Fix Key Identifier and Value identifier in generic for loop using same type for debug string 2019-09-07 15:38:03 +02:00
Deukhoofd 8f078e580e
Include type in BoundVariableKey for debugging purposes
continuous-integration/drone/push Build is passing Details
2019-09-07 15:33:26 +02:00
Deukhoofd 629adafeaf
Include Userdata string key in userdata object for debugging 2019-09-07 15:22:24 +02:00
Deukhoofd bd054b1077
Fixed right hand in Logical And operation being evaluated when left hand was false
continuous-integration/drone/push Build is passing Details
2019-09-07 13:52:44 +02:00
Deukhoofd fab2c9eabd
Require explicit inequality as well as equality operators on evalvalues 2019-09-07 13:28:25 +02:00
Deukhoofd d8c67f2dde
Even better exception handling when we can't index an evalvalue 2019-09-07 13:21:35 +02:00
Deukhoofd 2e1bdcf3a4
Better error handling when unable to index an eval value
continuous-integration/drone/push Build is passing Details
2019-09-07 13:04:42 +02:00
Deukhoofd 5c63b15ab7
Display whether an assignment is to a local or global variable 2019-09-07 12:48:17 +02:00
Deukhoofd dd98a34b63
Fixed missing endlines between parameters in function calls 2019-09-07 12:32:42 +02:00
Deukhoofd 1235e8893f
Fixes trailing endline in numerical table to string 2019-09-07 12:30:30 +02:00
Deukhoofd da4258506e
Support for retrieving bound tree string from script objecsts
continuous-integration/drone/push Build is passing Details
2019-09-07 12:12:37 +02:00
Deukhoofd acc687f213
Cleanup of main script type class 2019-09-07 11:16:12 +02:00
Deukhoofd 5d700aa0e9
Greatly simplify handling numerical eval values, using std::variant
continuous-integration/drone/push Build is passing Details
2019-09-07 10:57:09 +02:00
Deukhoofd 7b5d03ed74
Tests for debug strings for many expressions
continuous-integration/drone/push Build is passing Details
2019-09-05 17:55:00 +02:00
Deukhoofd f547715842
Fixes and tests for function declaration to string 2019-09-05 16:41:12 +02:00
Deukhoofd 256969e912
Some fixes for statements to string, added more tests
continuous-integration/drone/push Build is passing Details
2019-09-05 12:22:10 +02:00
Deukhoofd fb142c7f25
Fixed Windows issue
continuous-integration/drone/push Build is passing Details
2019-09-05 10:59:01 +02:00
Deukhoofd b6b1496e82
Hopefully resolve Windows issue with symver attributes
continuous-integration/drone/push Build is failing Details
2019-09-02 20:58:18 +02:00
Deukhoofd 8bdc1ccfc7
Fixed memory leak in test cases
continuous-integration/drone/push Build was killed Details
2019-09-02 20:49:45 +02:00
Deukhoofd d21cfeaac8
Added support for creating a string outline of a bound script for debugging purposes
continuous-integration/drone/push Build was killed Details
2019-09-02 20:48:52 +02:00
Deukhoofd e0941a9db8
Handle comments 2019-09-01 20:18:32 +02:00
Deukhoofd 0e9c9abf7c
Implements unknown types
continuous-integration/drone/push Build is failing Details
2019-09-01 20:07:09 +02:00
Deukhoofd 01e5441d62
Make nil equivalent type to string and userdata
continuous-integration/drone/push Build is failing Details
2019-09-01 17:10:03 +02:00
Deukhoofd 2fbe1fdf09
Dont use cached version of NumericScriptType with extern, this causes issues
continuous-integration/drone/push Build is failing Details
2019-09-01 16:51:26 +02:00
Deukhoofd cf1daf7805
Handle nil keyword
continuous-integration/drone/push Build is failing Details
2019-09-01 16:16:36 +02:00
Deukhoofd a3e77f650a
Improved performance when binding by reusing many common scripttype objects
continuous-integration/drone/push Build is failing Details
2019-09-01 15:35:45 +02:00
Deukhoofd 79873d9d6a
Support for setting userdata casting handling 2019-09-01 13:35:13 +02:00
Deukhoofd b2ee008ba2
Fix Windows version not allowing us to change GLIBC version for functions
continuous-integration/drone/push Build is failing Details
2019-08-25 18:22:32 +02:00
Deukhoofd b3eee4e89a
Enforce older versions of libm for several math libraries to ensure compatibility
continuous-integration/drone/push Build is failing Details
2019-08-25 17:58:57 +02:00
Deukhoofd f5bfd9c710
Extern C support for creating NilEvalValue
continuous-integration/drone/push Build is passing Details
2019-08-25 12:38:36 +02:00
Deukhoofd 4c97a7c811
Handling for when userdata is not defined yet, but might be defined later
continuous-integration/drone/push Build is passing Details
2019-08-25 11:53:37 +02:00
Deukhoofd 5b7da77027
Improvements for extern C scriptoptions calling
continuous-integration/drone/push Build is failing Details
2019-08-24 18:52:11 +02:00
Deukhoofd df755fcdd3
General fixes for ScriptOptions 2019-08-24 16:11:09 +02:00
Deukhoofd e913f8d052
Allow passing custom scriptoptions 2019-08-24 15:12:09 +02:00
Deukhoofd 1fcde396c3
Added mutex locks on static variables such as static scope and userdata, that could be shared around threads 2019-08-24 15:11:53 +02:00
Deukhoofd 18ffe00bc4
Fix SIGSEV with malformed functions 2019-08-24 13:54:01 +02:00
Deukhoofd 8103099287
Add extern C function to clone scripts 2019-08-21 10:34:10 +02:00