Making a compiler (ep 4) Check my sickening RegEx

#devlog #g1ant #adventiredOfG1ant #programming #csharp

Short post this time ‘cause I want to sleep.

But here’s a cool insight of my regex-based tokenizer:

Had to tweak the number tokenization because was fiddling arouynd with the dot operations. Looks like hell but hey it’s not too bad.

It’s by far my longest regex in the current codebase.

For a little easier sight of it in the works:

Sleep wheel, truckputts

This post was originally posted (by me) here: