I started with a Lexer, but then I got intimidated (actually NOT bored this time, yay!) by the task of implementing a parser.
But during the last two days, I got my self together and started the parser implementation (all based on chumsky of course).
Most likely not "the way it is done", most likely also not as performant as it could be, most likely also wrong in terms of span preservation, but hey, I made progress!
#langdev #compiler #compilerdev #rust
I'm gonna stream tomorrow at noon EST! Gonna be writing a webassembly compiler as a part of modernizing hlang! It's gonna be a fun time writing the nguh (/ŋə/) hlang compiler and desperately hacking at things. Hopefully I don't go heckin' crazy!
If you don't make the stream, I'm gonna upload it to my YouTube feed and maybe my website if that works out. It may be too big for how I designed XeDN. We'll find out! It's probably fine.
#enVTuber #webassembly #hlang #compilerdev #vtuber #programming #stream
#enVTuber #webassembly #hlang #compilerdev #vtuber #programming #stream
I should write an #introduction, shouldn’t I?
Hi, I’m Becca. I’m a #poly #trans #lesbian with #ADHD in the #BayArea. I’m mildly kinky but keep horny off main.
I’m a programming language designer working on #SwiftLang’s Language Workgroup, and I do #compilerdev at #apple. I like teaching people to use things.
Outside of work, I play #FFXIV and I’m a #StarTrek fan (#DS9 is my fave). I’ve been getting back into #lego. I like reading and writing fiction but haven’t done much of either lately.
#introduction #poly #trans #lesbian #adhd #bayarea #swiftlang #compilerdev #apple #ffxiv #startrek #ds9 #lego
Alright, the inliner succeeds on the entirety of the source code, time to push a new version of XukutOS!
Browse at: https://git.sr.ht/~vierkantor/XukutOS/
Picked up my toy language/compiler from years ago and am currently porting the old codebase from C++ to C. Feels weirdly therapeutic.
It never really got very far -- the most advanced program it could compile/run was a "generic" gcd() calculation. Maybe this time I'll get further?
I think the inliner now works correctly given an infinitely fast computer and/or if we traverse the dependency graph perfectly! (Still have to fix that it becomes exponentially slow in the length of the dependency chain: inlining a function will add a note that it needs to be re-inlined if one of its dependencies changes, which means each time a dependency changes the number of notes doubles.)
I have departed #twitter. Any follow recommendations? #gamedev #rust #compilerdev
#compilerdev #rust #gamedev #twitter