Commit Graph

191 Commits

Author SHA1 Message Date
Deukhoofd 471632c6e4
Rework of evaluation variable handling, to account for functions having branching variable states
continuous-integration/drone/push Build is passing Details
2019-06-08 18:33:56 +02:00
Deukhoofd 4d452b33e0
Jump to specific function scope when calling function
continuous-integration/drone/push Build is passing Details
2019-06-08 16:44:47 +02:00
Deukhoofd d385a9e3ee
Fix parametered functions skipping a token 2019-06-08 16:30:23 +02:00
Deukhoofd 7ed53193de
Make functions be able to call themselves
continuous-integration/drone/push Build is failing Details
2019-06-08 16:02:21 +02:00
Deukhoofd 7d75131822
Implemented comparison equality operators 2019-06-08 15:38:08 +02:00
Deukhoofd fc66c15c2f
Fixed issue where function declarations without parameters would cause errors
continuous-integration/drone/push Build is passing Details
2019-06-08 14:42:23 +02:00
Deukhoofd a2263535d9
Fixed issue where function parser keeps consuming tokens and causes out of range exceptions 2019-06-08 14:40:21 +02:00
Deukhoofd ed6fbdbef0
Fix wrong block statements consuming EOF token, causing a nullptr exception 2019-06-08 14:27:24 +02:00
Deukhoofd e233616b8e
Implements if, elseif and else statements
continuous-integration/drone/push Build is passing Details
2019-06-08 14:25:15 +02:00
Deukhoofd f4a3918947
Implements return statement
continuous-integration/drone/push Build is passing Details
2019-06-07 15:23:13 +02:00
Deukhoofd f143e526ab
Added support for calling script functions from extern C hooks
continuous-integration/drone/push Build is passing Details
2019-06-07 13:51:49 +02:00
Deukhoofd a747c60f32
Removed ununused directive 2019-06-07 12:48:13 +02:00
Deukhoofd 81d57f6027
Get rid of insert_or_assign functions on map, as mingw seems to be having trouble with it
continuous-integration/drone/push Build is passing Details
2019-06-07 12:35:43 +02:00
Deukhoofd 4464cece57
Mingw doesn't seem to recognize intert_or_assign, so make it only use that on GCC
continuous-integration/drone/push Build is failing Details
2019-06-06 20:43:36 +02:00
Deukhoofd 29561c7ef5
More fixes for CI
continuous-integration/drone/push Build is failing Details
2019-06-06 20:28:00 +02:00
Deukhoofd 043ab5dd7e
Downgraded minimum cmake required
continuous-integration/drone/push Build is failing Details
2019-06-06 20:15:45 +02:00
Deukhoofd 7f73bf07d2
Create new string in Lexer when not passed by reference
continuous-integration/drone/push Build is failing Details
2019-06-06 20:07:55 +02:00
Deukhoofd 976b4ef2ec
Test to see if environment variables handle everything properly
continuous-integration/drone/push Build is failing Details
2019-06-06 19:49:00 +02:00
Deukhoofd 2085334d0d
Try CI for Windows
continuous-integration/drone/push Build is failing Details
2019-06-06 19:24:27 +02:00
Deukhoofd 1d9271735c
More fixes for CI
continuous-integration/drone/push Build is passing Details
2019-06-06 19:16:30 +02:00
Deukhoofd 935b21a2eb
Try this
continuous-integration/drone/push Build is failing Details
2019-06-06 19:09:27 +02:00
Deukhoofd fa705786f1
Fixes for CI 2019-06-06 19:07:28 +02:00
Deukhoofd bffa133a3a
Renamed import to include 2019-06-06 19:03:28 +02:00
Deukhoofd ada2690dcd
Rename Diagnostics
continuous-integration/drone/push Build is failing Details
2019-06-06 19:01:54 +02:00
Deukhoofd 89ada09272
CI fixes
continuous-integration/drone/push Build is failing Details
2019-06-06 18:58:51 +02:00
Deukhoofd 549b53a69b
Remove CMake cache
continuous-integration/drone/push Build is failing Details
2019-06-06 18:53:15 +02:00
Deukhoofd f77192a01f
Initial work on CI
continuous-integration/drone/push Build is failing Details
2019-06-06 18:02:46 +02:00
Deukhoofd cb5d9e2f62
Implements indexing, currently can only be used with strings 2019-06-06 17:35:51 +02:00
Deukhoofd b275e1fbd6
Added basics for lexing index expressions 2019-06-05 21:01:59 +02:00
Deukhoofd 7f79c4d8bb
Minor test memory cleanup 2019-06-05 19:18:11 +02:00
Deukhoofd d49692a17e
Minor optimizations in lexer 2019-06-05 19:11:56 +02:00
Deukhoofd bda26b0ddf
Allow non-local script functions to be called from outside the script 2019-06-05 18:44:23 +02:00
Deukhoofd 43dede9ae2
Work to add C style entry points to library that allow most functionality 2019-06-05 17:46:46 +02:00
Deukhoofd 6206fef4c5
Rework evaluation to use shared pointers, fix bugs 2019-06-01 21:38:39 +02:00
Deukhoofd 4408cf00cd
Large overhaul of pointers to shared_ptrs, implemented function evaluation 2019-06-01 19:20:31 +02:00
Deukhoofd 8b70eed516
Implements parsing of function calling 2019-06-01 14:56:28 +02:00
Deukhoofd 1231a77761
Fixes and changes for function declarations, using shared_ptr instead of raw pointers 2019-06-01 13:43:25 +02:00
Deukhoofd 6936b26cae
Implements binding and evaluating function declarations 2019-06-01 12:33:52 +02:00
Deukhoofd c407ba2f50
Implements parsing function declarations 2019-05-31 15:00:14 +02:00
Deukhoofd 6fad5a0a7d
Implements variable usage, tweaks and fixes for variable assignment 2019-05-30 15:23:48 +02:00
Deukhoofd 257eb942c7
Clean up EvaluationScope class 2019-05-29 15:12:13 +02:00
Deukhoofd bda561b775
Fixes for creating variable in local scope 2019-05-29 15:10:16 +02:00
Deukhoofd 188d89db94
Fixed memory leak in script variables 2019-05-29 15:00:41 +02:00
Deukhoofd 3c0df2e615
Delete script after tests 2019-05-29 14:58:00 +02:00
Deukhoofd f6cf4d96dd
Implements variable assignment evaluation 2019-05-29 14:55:03 +02:00
Deukhoofd 6185f755a4
More fixes for boundscope 2019-05-28 18:50:23 +02:00
Deukhoofd 2c84c1e229
Cleanup and fixes for boundscope 2019-05-28 18:22:07 +02:00
Deukhoofd 5d1c3ac9ba
Implements assignment binding 2019-05-28 17:49:03 +02:00
Deukhoofd dbd7dfdd73
Implements assignment parsing 2019-05-26 14:20:40 +02:00
Deukhoofd 0205b92ae6
Implements string evaluation and concat 2019-05-25 16:15:20 +02:00