]>
git.corax.cc Git - ccc/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matthias Kruk [Mon, 1 Jun 2020 01:13:41 +0000 (10:13 +0900)]
lex: Add token types for keywords
Matthias Kruk [Sun, 31 May 2020 23:39:06 +0000 (08:39 +0900)]
lex: Add functions to the lexer so the tokens can be accessed more flexibly
Matthias Kruk [Sun, 31 May 2020 05:53:29 +0000 (14:53 +0900)]
lex: Assign tokens a type during the lexing step
Matthias Kruk [Sun, 31 May 2020 05:51:54 +0000 (14:51 +0900)]
lex: Clean up the token type
Matthias Kruk [Sun, 31 May 2020 04:16:17 +0000 (13:16 +0900)]
lex: Refactor the tokenizer into a lexer module
Matthias Kruk [Sun, 31 May 2020 03:49:36 +0000 (12:49 +0900)]
Rename tokenize.c to lex.c
Matthias Kruk [Sat, 30 May 2020 15:41:10 +0000 (00:41 +0900)]
tokenize: Add parser for '->' tokens and make sure the last token is returned even if the output does not end with a newline
Matthias Kruk [Sat, 30 May 2020 14:28:27 +0000 (23:28 +0900)]
tokenize: Fix mistaken use of putchar() where putnext() should have been
Matthias Kruk [Sat, 30 May 2020 14:15:06 +0000 (23:15 +0900)]
tokenize: Fix off-by-one bug in the column number
Matthias Kruk [Sat, 30 May 2020 09:24:34 +0000 (18:24 +0900)]
tokenize: Implement recognition of identifiers, numeric literals, and several operators
Matthias Kruk [Sat, 30 May 2020 09:23:14 +0000 (18:23 +0900)]
tokenize: Add token_new_from_char() helper function
Matthias Kruk [Fri, 29 May 2020 11:01:53 +0000 (20:01 +0900)]
tokenize: Implement tokenization of bitwise operators, string literals, character literals, and some others
Matthias Kruk [Thu, 28 May 2020 00:27:28 +0000 (09:27 +0900)]
tokenize: Implement correct tokenization of comments and operators starting with < and >
Matthias Kruk [Wed, 27 May 2020 00:34:05 +0000 (09:34 +0900)]
Add first attempt at writing a tokenizer
Matthias Kruk [Wed, 27 May 2020 00:32:22 +0000 (09:32 +0900)]
doc: Fix error in the tokenizer chart
Matthias Kruk [Tue, 26 May 2020 11:06:47 +0000 (20:06 +0900)]
doc: Add graph of the tokenizer automaton