Commit Graph

33 Commits

Author SHA1 Message Date
2d4d3d8856 Apparently Windows does not handle 'long' the same as Unix.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-18 10:30:58 +02:00
e2a0c35992 Large cleanup
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-07-25 17:23:54 +02:00
32836c6c58 Make a lot of one-liner functions inline
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-04 19:08:13 +02:00
0446c1098b Implements toint function
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-04 17:18:07 +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
6bcedaf743 Add backslash to invalid control character error, made pretty error messages use 1-based line index
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-19 13:33:01 +02:00
8541085b27 Added support for full error messages
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-18 19:56:47 +02:00
e07d5cb7cb Move Diagnostics to separate namespace 2019-06-18 16:39:36 +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
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
3e00f750ef Make Lexer use constant Tokens
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-13 18:49:38 +02:00
601c4a3f89 Always pass the script string around by reference 2019-06-13 17:37:23 +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
7d75131822 Implemented comparison equality operators 2019-06-08 15:38:08 +02:00
7f73bf07d2 Create new string in Lexer when not passed by reference
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-06 20:07:55 +02:00
b275e1fbd6 Added basics for lexing index expressions 2019-06-05 21:01:59 +02:00
d49692a17e Minor optimizations in lexer 2019-06-05 19:11:56 +02:00
c407ba2f50 Implements parsing function declarations 2019-05-31 15:00:14 +02:00
9131fbfee7 Implements inequality token 2019-05-25 14:17:52 +02:00
b2fa857c9b Fix memory leak related to lexer skipping whitespace. 2019-05-24 19:18:03 +02:00
6eb005ab3f Lex Strings 2019-05-22 13:24:28 +02:00
23991ab2ea Improved performance for lexing identifiers/keywords 2019-05-22 12:41:08 +02:00
aec07bd29a Adds support for parenthesized expressions 2019-05-21 17:16:53 +02:00
ae25598864 Expanded on diagnostics, make whitespace completely ignored 2019-05-21 15:11:00 +02:00
8f2f122215 Make Diagnostics usage a pointer 2019-05-21 14:15:39 +02:00
2b35da3a7b Add support for diagnostics 2019-05-21 13:56:08 +02:00
7edd51d5e3 Save position and length of tokens 2019-05-19 16:11:16 +02:00
608a579f19 Adds \v and \f as whitespace characters 2019-05-19 15:28:45 +02:00
06fe0e7c4c Added lexing support for identifiers and keywords 2019-05-19 14:26:21 +02:00
8285811fb7 Add a couple more characters to lex 2019-05-19 12:49:26 +02:00
600315d401 Dont consume the character immediately following a number 2019-05-19 12:20:08 +02:00
22e450e7e7 Initial commit, adds very basic Lexing 2019-05-18 20:35:51 +02:00