Commit Graph

82 Commits

Author SHA1 Message Date
Deukhoofd 458274f370
Large rework of tables
continuous-integration/drone/push Build is failing Details
2019-09-15 13:08:11 +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 629adafeaf
Include Userdata string key in userdata object for debugging 2019-09-07 15:22:24 +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 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 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 0e9c9abf7c
Implements unknown types
continuous-integration/drone/push Build is failing Details
2019-09-01 20:07:09 +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 18ffe00bc4
Fix SIGSEV with malformed functions 2019-08-24 13:54:01 +02:00
Deukhoofd faa3000d95
Fixed issue where an indexer followed by a binary operator would ignore the binary
continuous-integration/drone/push Build is passing Details
2019-08-18 15:44:55 +02:00
Deukhoofd 5e96250d96
Implements initial math library, several reworks for Userdata memory management
continuous-integration/drone/push Build is passing Details
2019-08-17 14:42:48 +02:00
Deukhoofd 5b3bc26bdb
Fixed tests not passing due to 1-indexed system vs 0-indexed thinking
continuous-integration/drone/push Build is passing Details
2019-08-15 11:53:40 +02:00
Deukhoofd 471dbac3b9
Implements iterator for user data collection
continuous-integration/drone/push Build is failing Details
2019-08-15 11:43:08 +02:00
Deukhoofd 641b6784c7
Support for loading variables from module with require
continuous-integration/drone/push Build is failing Details
2019-08-11 12:32:18 +02:00
Deukhoofd c39f3a0884
Initial support for require statements
continuous-integration/drone/push Build is failing Details
2019-08-10 16:45:15 +02:00
Deukhoofd 4b5672e3f5
Implements handling of userdata collection items
continuous-integration/drone/push Build was killed Details
2019-07-28 19:01:07 +02:00
Deukhoofd ccc6e297f2
Rework of memory handling in Evaluation
continuous-integration/drone/push Build is failing Details
2019-07-27 17:59:42 +02:00
Deukhoofd 268f6b59fb
Removed LastValue variable, as it can be better emulated with basic return values 2019-07-27 10:51:24 +02:00
Deukhoofd 40e45b0112
Fixed infinite loop in diagnostics
continuous-integration/drone/push Build is passing Details
2019-07-21 12:03:56 +02:00
Deukhoofd db2d731b06
Implements support for functions with the same name, but different parameters
continuous-integration/drone/push Build is passing Details
2019-06-29 19:59:42 +02:00
Deukhoofd ecfc1ae3b7
Cleaner way to define userdata templates
continuous-integration/drone/push Build is passing Details
2019-06-28 23:38:47 +02:00
Deukhoofd eda15e501d
Better handling of creating EvalValues in UserData templates
continuous-integration/drone/push Build is passing Details
2019-06-28 18:31:24 +02:00
Deukhoofd 70f2dea0ce
Some tweaks to the userdata templates
continuous-integration/drone/push Build is passing Details
2019-06-28 17:53:37 +02:00
Deukhoofd 88ea4ed8cd
Template helpers to help define UserData types
continuous-integration/drone/push Build is passing Details
2019-06-28 17:02:38 +02:00
Deukhoofd df79489d4d
Implements while loop
continuous-integration/drone/push Build is passing Details
2019-06-28 13:28:39 +02:00
Deukhoofd 3367e60ae5
Support break statements
continuous-integration/drone/push Build is passing Details
2019-06-27 15:55:46 +02:00
Deukhoofd 9727c9365e
Reworked handling of numerical key tables to make iteration over keys actual numerics, instead of strings
continuous-integration/drone/push Build is passing Details
2019-06-27 14:02:31 +02:00
Deukhoofd d86e9ba8ae
Implemented generic for loops
continuous-integration/drone/push Build is passing Details
2019-06-26 16:19:34 +02:00
Deukhoofd 021750a135 Fix all valgrind leak issues in tests
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 13:38:41 +02:00
Deukhoofd 76b8ba3ebc
Initial work on iterators, rework of variable handling by including actual string
continuous-integration/drone/push Build is failing Details
2019-06-23 15:58:14 +02:00
Deukhoofd e472dcec1c
Implements numeric for loops
continuous-integration/drone/push Build is passing Details
2019-06-22 17:35:33 +02:00
Deukhoofd 694b0ac0c0
Work on extern support for userdata functions
continuous-integration/drone/push Build is passing Details
2019-06-21 23:07:17 +02:00
Deukhoofd 95c322ed2c
Implements userdata function support
continuous-integration/drone/push Build is failing Details
2019-06-21 17:03:13 +02:00
Deukhoofd 6f7d319148
Don't parse expression on different line from return keyword
continuous-integration/drone/push Build is passing Details
2019-06-19 16:21:21 +02:00
Deukhoofd b76548da16
Cache diagnostic message for easier access, and better extern C handling
continuous-integration/drone/push Build is passing Details
2019-06-19 15:49:44 +02:00
Deukhoofd 7958576b6a
Create entry point to get diagnostic string message
continuous-integration/drone/push Build is passing Details
2019-06-19 13:37:39 +02:00
Deukhoofd 6bcedaf743
Add backslash to invalid control character error, made pretty error messages use 1-based line index
continuous-integration/drone/push Build is passing Details
2019-06-19 13:33:01 +02:00
Deukhoofd 8541085b27
Added support for full error messages
continuous-integration/drone/push Build is passing Details
2019-06-18 19:56:47 +02:00
Deukhoofd dc35ba4698
Support getting line for diagnostic 2019-06-18 17:14:18 +02:00
Deukhoofd e07d5cb7cb
Move Diagnostics to separate namespace 2019-06-18 16:39:36 +02:00
Deukhoofd fde102d954
Added namespaces to most classes, general cleanup
continuous-integration/drone/push Build is failing Details
2019-06-17 18:35:12 +02:00
Deukhoofd d91caa7f32
Implements indexing with period identifier style (``foo.bar``)
continuous-integration/drone/push Build is passing Details
2019-06-17 15:45:33 +02:00
Deukhoofd 90ec4766c3
Support unicode as variables
continuous-integration/drone/push Build is passing Details
2019-06-15 17:51:10 +02:00
Deukhoofd 3dc67ec8a0
Move Lexer to u16string handling, for unicode support
continuous-integration/drone/push Build is passing Details
2019-06-15 17:20:27 +02:00
Deukhoofd 2c313791d9
Ensure memory is handled properly with userdata
continuous-integration/drone/push Build is passing Details
2019-06-14 17:35:05 +02:00
Deukhoofd a9def6c539
Implements setting table values
continuous-integration/drone/push Build is failing Details
2019-06-14 17:12:27 +02:00
Deukhoofd 996b5be496
Implements basics for UserData 2019-06-14 14:59:38 +02:00
Deukhoofd 1cb65f17c9
Work on performance improvements
continuous-integration/drone/push Build is passing Details
2019-06-13 16:26:10 +02:00
Deukhoofd 22149d9243
Fixes for return statement, make Evaluate function on script return value
continuous-integration/drone/push Build was killed Details
2019-06-12 18:45:47 +02:00
Deukhoofd 3477ddd18c
Rework function evaluation scope to handle tables
continuous-integration/drone/push Build is passing Details
2019-06-12 17:56:47 +02:00