Commit Graph

55 Commits

Author SHA1 Message Date
82c82ae93d Fixed memory issue when assigning new method options
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-27 18:30:05 +02:00
ccc6e297f2 Rework of memory handling in Evaluation
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-27 17:59:42 +02:00
268f6b59fb Removed LastValue variable, as it can be better emulated with basic return values 2019-07-27 10:51:24 +02:00
e2a0c35992 Large cleanup
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-07-25 17:23:54 +02:00
bb0a6aba19 General cleanup
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-04 18:24:49 +02:00
db2d731b06 Implements support for functions with the same name, but different parameters
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-29 19:59:42 +02:00
0d63543ff4 Fix fallthrough warnings
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-28 13:32:28 +02:00
df79489d4d Implements while loop
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-28 13:28:39 +02:00
3367e60ae5 Support break statements
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-27 15:55:46 +02:00
46197e0a6e Clean up iterator in generic for loop
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-27 14:27:31 +02:00
9727c9365e Reworked handling of numerical key tables to make iteration over keys actual numerics, instead of strings
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-27 14:02:31 +02:00
d86e9ba8ae Implemented generic for loops
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-26 16:19:34 +02:00
48224afe45 Reduce amount of copies for HashedString for improved performance
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-25 15:18:36 +02:00
76b8ba3ebc Initial work on iterators, rework of variable handling by including actual string
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-23 15:58:14 +02:00
1a84661c79 Make zero step numerical for loop use the positive number evaluation 2019-06-23 12:58:01 +02:00
e472dcec1c Implements numeric for loops
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-22 17:35:33 +02:00
694b0ac0c0 Work on extern support for userdata functions
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-21 23:07:17 +02:00
95c322ed2c Implements userdata function support
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-21 17:03:13 +02:00
6f7d319148 Don't parse expression on different line from return keyword
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-19 16:21:21 +02:00
fde102d954 Added namespaces to most classes, general cleanup
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-17 18:35:12 +02:00
21d3329c55 Mark evalValues as const
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-17 17:43:54 +02:00
d91caa7f32 Implements indexing with period identifier style (`foo.bar`)
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-17 15:45:33 +02:00
7c345d85e8 Work on making userdata work through extern C entry points
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-14 22:21:33 +02:00
a9def6c539 Implements setting table values
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-14 17:12:27 +02:00
996b5be496 Implements basics for UserData 2019-06-14 14:59:38 +02:00
601c4a3f89 Always pass the script string around by reference 2019-06-13 17:37:23 +02:00
10a2535c96 Handle bound classes as constants during evaluation
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-13 17:12:46 +02:00
1cb65f17c9 Work on performance improvements
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-13 16:26:10 +02:00
813ab1e90b Rework of variable scope to reduce load on evaluator 2019-06-13 15:16:41 +02:00
22149d9243 Fixes for return statement, make Evaluate function on script return value
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-06-12 18:45:47 +02:00
3477ddd18c Rework function evaluation scope to handle tables
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-12 17:56:47 +02:00
c022c91777 Implements complex tables
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-12 15:19:28 +02:00
081def0be0 Implements basic numerical tables
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-09 20:15:09 +02:00
9241273e7c Remove variable branch after function is finished running
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-09 12:37:19 +02:00
471632c6e4 Rework of evaluation variable handling, to account for functions having branching variable states
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-08 18:33:56 +02:00
4d452b33e0 Jump to specific function scope when calling function
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-08 16:44:47 +02:00
7ed53193de Make functions be able to call themselves
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-08 16:02:21 +02:00
e233616b8e Implements if, elseif and else statements
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-08 14:25:15 +02:00
f4a3918947 Implements return statement
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-07 15:23:13 +02:00
cb5d9e2f62 Implements indexing, currently can only be used with strings 2019-06-06 17:35:51 +02:00
bda26b0ddf Allow non-local script functions to be called from outside the script 2019-06-05 18:44:23 +02:00
43dede9ae2 Work to add C style entry points to library that allow most functionality 2019-06-05 17:46:46 +02:00
6206fef4c5 Rework evaluation to use shared pointers, fix bugs 2019-06-01 21:38:39 +02:00
4408cf00cd Large overhaul of pointers to shared_ptrs, implemented function evaluation 2019-06-01 19:20:31 +02:00
6936b26cae Implements binding and evaluating function declarations 2019-06-01 12:33:52 +02:00
6fad5a0a7d Implements variable usage, tweaks and fixes for variable assignment 2019-05-30 15:23:48 +02:00
f6cf4d96dd Implements variable assignment evaluation 2019-05-29 14:55:03 +02:00
0205b92ae6 Implements string evaluation and concat 2019-05-25 16:15:20 +02:00
b536187593 Implements unary operation evaluation 2019-05-25 14:59:12 +02:00
4a4a71ca73 Added logical and and or binary operations 2019-05-25 13:30:20 +02:00