Commit Graph

166 Commits

Author SHA1 Message Date
Deukhoofd 32836c6c58
Make a lot of one-liner functions inline
continuous-integration/drone/push Build is failing Details
2019-07-04 19:08:13 +02:00
Deukhoofd bb0a6aba19
General cleanup
continuous-integration/drone/push Build is passing Details
2019-07-04 18:24:49 +02:00
Deukhoofd 0446c1098b
Implements toint function
continuous-integration/drone/push Build is passing Details
2019-07-04 17:18:07 +02:00
Deukhoofd 5e02b6b389
Cleans up basic library handling, implements print function
continuous-integration/drone/push Build is passing Details
2019-07-04 15:56:42 +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 24c560b52d
Initial work on standard library
continuous-integration/drone/push Build is passing Details
2019-06-29 16:18:59 +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 0d63543ff4
Fix fallthrough warnings
continuous-integration/drone/push Build is passing Details
2019-06-28 13:32:28 +02:00
Deukhoofd df79489d4d
Implements while loop
continuous-integration/drone/push Build is passing Details
2019-06-28 13:28:39 +02:00
Deukhoofd f7a6ff7d87
Setup basics for userdata binary operations
continuous-integration/drone/push Build is passing Details
2019-06-27 16:48:19 +02:00
Deukhoofd 3367e60ae5
Support break statements
continuous-integration/drone/push Build is passing Details
2019-06-27 15:55:46 +02:00
Deukhoofd 46197e0a6e
Clean up iterator in generic for loop
continuous-integration/drone/push Build is passing Details
2019-06-27 14:27:31 +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 cfd558b718
More CI tweaks
continuous-integration/drone/push Build is passing Details
2019-06-25 15:38:55 +02:00
Deukhoofd 2284e68ea0
Slight tweaks for CI
continuous-integration/drone/push Build is failing Details
2019-06-25 15:31:44 +02:00
Deukhoofd 48224afe45
Reduce amount of copies for HashedString for improved performance
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-25 15:18:36 +02:00
Deukhoofd bace7b294d
This mutex issue is going to drive me insane
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 20:22:20 +02:00
Deukhoofd e13d75a502
move mutex closer to guard call
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 17:12:46 +02:00
Deukhoofd e363d55206
Make mutex non-static again
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 16:34:09 +02:00
Deukhoofd ef150f6851
Make internal storage of userdata non copyable or movable
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 16:21:47 +02:00
Deukhoofd 09e30a234c
Mark mutex in userdata handler as static
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 15:51:51 +02:00
Deukhoofd fd83b6b992
Implemented copy without state function for script
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 15:35:25 +02:00
Deukhoofd 97be8cded0
More valgrind fixes
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 15:33:29 +02:00
Deukhoofd 907e444389 More valgrind fixes
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <deukhoofd@gmail.com>
2019-06-24 15:09:00 +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 1a84661c79
Make zero step numerical for loop use the positive number evaluation 2019-06-23 12:58:01 +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 88df299e14
Disable Windows build until Dockcross includes updated GCC version
continuous-integration/drone/push Build is passing Details
2019-06-18 16:30:08 +02:00
Deukhoofd cf752971a4
Attempt to use newer GCC on the Windows build
continuous-integration/drone/push Build is failing Details
2019-06-18 15:58:06 +02:00
Deukhoofd 1563e45c3f
Enforce C++17 to use CMake to build, as we're using C++17 features
continuous-integration/drone/push Build is failing Details
2019-06-18 14:45:44 +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 21d3329c55
Mark evalValues as const
continuous-integration/drone/push Build is passing Details
2019-06-17 17:43:54 +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 d06b04cae9
Gitignore automatically generated project files
continuous-integration/drone/push Build is passing Details
2019-06-15 18:05:42 +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