Hacker News
new
top
best
ask
show
job
Show HN: Building a C Lexer from Scratch
(
github.com
)
2 points
by
johnryzon123
4 hours ago
1 comment
johnryzon123
4 hours ago
The lexer uses 2 strings (start and current) to be faster than usual, unlike other niche scanners that usually use other variables. It's poster-based lexer which could cause pointer desync. I'm trying to find some bugs to fix