Commit Graph

49 Commits

Author SHA1 Message Date
90ec4766c3 Support unicode as variables
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-15 17:51:10 +02:00
3dc67ec8a0 Move Lexer to u16string handling, for unicode support
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-15 17:20:27 +02:00
2c313791d9 Ensure memory is handled properly with userdata
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-14 17:35:05 +02:00
3217fd1479 Fix for release builds deleting lexer test script strings before being finished with it
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-14 17:20: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
831dbe6917 Fix Lexer tests losing reference
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-13 19:21:22 +02:00
3e00f750ef Make Lexer use constant Tokens
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-13 18:49:38 +02:00
5910cbbfa9 Make parsed statements constant during binding 2019-06-13 18:14:59 +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
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
ba4fe888fa Pass parsed block statements as reference instead of value 2019-06-11 14:58:43 +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
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
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
7d75131822 Implemented comparison equality operators 2019-06-08 15:38:08 +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
7f79c4d8bb Minor test memory cleanup 2019-06-05 19:18:11 +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
1231a77761 Fixes and changes for function declarations, using shared_ptr instead of raw pointers 2019-06-01 13:43:25 +02:00
6936b26cae Implements binding and evaluating function declarations 2019-06-01 12:33:52 +02:00
c407ba2f50 Implements parsing function declarations 2019-05-31 15:00:14 +02:00
6fad5a0a7d Implements variable usage, tweaks and fixes for variable assignment 2019-05-30 15:23:48 +02:00
bda561b775 Fixes for creating variable in local scope 2019-05-29 15:10:16 +02:00
3c0df2e615 Delete script after tests 2019-05-29 14:58:00 +02:00
f6cf4d96dd Implements variable assignment evaluation 2019-05-29 14:55:03 +02:00
6185f755a4 More fixes for boundscope 2019-05-28 18:50:23 +02:00
5d1c3ac9ba Implements assignment binding 2019-05-28 17:49:03 +02:00
dbd7dfdd73 Implements assignment parsing 2019-05-26 14:20:40 +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
9131fbfee7 Implements inequality token 2019-05-25 14:17:52 +02:00
d6a6e116fe Added equality operation for eval values 2019-05-25 13:57:43 +02:00
4a4a71ca73 Added logical and and or binary operations 2019-05-25 13:30:20 +02:00
4a034bc051 Reworked evaluation to use internal type instead of boost::any 2019-05-24 19:14:30 +02:00
fed4c65bef Rename test files to fit consistency 2019-05-24 15:37:45 +02:00
e5cc27d43e Fix literal floats evaluating wrong values 2019-05-24 15:33:13 +02:00
e648013e1d Implements binary operation for floats 2019-05-24 15:31:11 +02:00
d949d9aa8f Work on evaluation 2019-05-23 18:50:09 +02:00
57cd3efec9 Parse and bind strings 2019-05-22 13:29:35 +02:00
6eb005ab3f Lex Strings 2019-05-22 13:24:28 +02:00
2df4a71ed8 Reorganized tests 2019-05-21 17:23:56 +02:00