Skip to content

Commit 0b21d4b

Browse files
committed
New Kind in JuliaSyntax module; use @ K_str everywhere
Replace the @ enum-based version of Kind with a custom bits type. This allows us to use the K_str macro to name the enumerants with more self-descriptive names. Refactor to use this new Kind type everywhere from the lexer to the parser.
1 parent 212bc18 commit 0b21d4b

File tree

9 files changed

+2337
-3147
lines changed

9 files changed

+2337
-3147
lines changed

src/JuliaSyntax.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using Mmap
55
# Helper utilities
66
include("utils.jl")
77

8+
include("kinds.jl")
89
# Lexing uses a significantly modified version of Tokenize.jl
910
include("Tokenize/Tokenize.jl")
1011
using .Tokenize.Tokens: Token

0 commit comments

Comments
 (0)