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: https://regex101.com/r/1G2Dbt/2

Sleep wheel, truckputts

This post was originally posted (by me) here: https://itsa-me-jag.tumblr.com/post/172288489022/making-a-compiler-ep-4-check-my-sickening-regex