Commit Graph

24 Commits

Author SHA1 Message Date
082e4ad175
Remove a useless #include directive in lex.hpp 2021-12-28 09:39:46 +01:00
32baddc0b2
Improve the tok constructors 2021-12-27 21:47:04 +01:00
cfbebed895
Remove a useless constructor in lex.hpp 2021-12-26 14:53:37 +01:00
26978f75c8
Add "ASTERISK" and "DIVIDE" token types to lex.hpp, and implement comments 2021-11-24 17:51:17 +01:00
659cdf4e80
Make tok::LexerException and Parser::ParserException type definitions instead of extending the Yerbacon::Exception class 2021-09-25 17:33:28 +02:00
6af6c04d5f
Remove the unlikely attribute from the '\r' case, and add an EOF token type 2021-09-23 13:21:47 +02:00
96bd6bf708
Re-add the newlinesoff argument 2021-09-11 11:49:57 +02:00
bfa8f50ad9
Revert "Add a "SEPARATOR" token type"
This reverts commit 47478173
2021-09-11 11:35:22 +02:00
6de05633d9
Add a "SEPARATOR" token type 2021-09-10 22:15:05 +02:00
664a6a92be
Begin adding transpilation of basic elements 2021-08-22 23:57:18 +02:00
fd6ce35291
Add line numbers to Yerbacon::Exception 2021-08-18 19:31:02 +02:00
e9ce6362af
Add a DOT token to lex.hpp, and only use the enum characters. 2021-08-10 13:54:50 +02:00
2f853fe797
Add unsigned short values to the tok::type enum and move the parseString function to misc.hpp. 2021-08-06 19:12:28 +02:00
328a073d50
Add a "dollar sign" token to lex.hpp and use it in lexer.cpp 2021-08-05 00:03:50 +02:00
905e7e7e82
Add lexing and parsing exceptions and parse = and #= 2021-07-29 17:35:35 +02:00
077f95b36b
Begin the parser 2021-07-03 21:54:12 +02:00
9ade88b6aa
Make the lex function return a value instead of a reference. 2021-04-01 16:20:14 +02:00
c190e308f8
Remove separator tokens, and move a boolean variable. 2021-04-01 15:32:31 +02:00
9869f73e35
Use a reference as the parseString function's parameter instead of a unuseful pointer. 2021-03-25 21:15:21 +01:00
60f88896a4
Replace an #include directive in src/headers/lex.hpp. 2021-03-19 13:53:53 +01:00
f32f8abc5c
Remove useless comments in the beginning of each C++ file. 2021-03-17 13:00:22 +01:00
6d2c23bb39
Add a misc.hpp file. 2021-03-03 19:47:25 +01:00
45cbe5b9e2
Lex the entire strings. 2021-02-22 19:42:20 +01:00
34c3cfb041
Hidden git history due to a license change. 2021-02-12 15:07:03 +01:00