now parsing:
- `goto`
- labels
- loops
- returns
only need to implement variable declaration before i've gone through the easy stuff. type bounds will be a lot - and then there's expressions to implement.. yikes
finally was bothered to pick up `sdw` again. printing and some formatting:
(also *christ* that lexer is slow - what the hell did i do??)
function arg parsing. took a little longer than i might've hoped because the grammar changes between stubs & bodied functions. but it works :)
think some sort of printing is in order. rust's `fmt::Debug` prints span info which clutters `stdout` -.-
will take a look at it. it'd be an interesting use for a procedural macro (because i'd rather not have to implement manually) but i also don't want to have to make a `sdw_proc` crate ._.
working on the parser again. pretty chill. slow going because i kept changing the structure, but i got it to a state where i _think_ it'll be serviceable for the future.
i made a little way into function parsing. stubs don't work with parameters, and functions.. do something wacky anyway. it's too late for debugging, though 😅
ah well
idly messing around with a parser structure which respects errors. this _might_ work. i think it might break in more complex cases, though.
we'll see. i'll try flesh the parser out some.
re-re-writing `sdwc`. i don't really know why. just bored.
anyway i wrote a whole design doc for it so i can implement whole compiler stages at a time.
first stop: lexing. this time i actually implemented multiline errors too.
debating whether error recovery is worth it. bootstrapping the compiler with only 1 error at a time would be miserable, and retrofitting recovery later would be worse. but.. lazy..
i might've gotten sidetracked and implemented loops, break, continue, variable reassignment & standalone function calls
Sol Invictus things #slowdownworld #sdw #solinvictus #winter #christmas #sol #yule #music #rock
https://slowdownworld.bandcamp.com/track/the-day-of-the-unconquered-sun
#slowdownworld #sdw #solinvictus #winter #christmas #sol #yule #music #rock
Sol Invictus things #slowdownworld #sdw #solinvictus #winter #christmas #sol #yule #music #rock
https://slowdownworld.bandcamp.com/track/the-day-of-the-unconquered-sun
#slowdownworld #sdw #solinvictus #winter #christmas #sol #yule #music #rock
RT @NHuenerfuerst@twitter.com
grade gebloggt: Lou Doillon mit Too Much - #SdW - https://www.huenerfuerst.de/archives/lou-doillon-mit-too-much-sdw - #2019 #Barclay #EGitarre #Hingabe #LouDoillon #NicolasSubrechicot #Schlagzeug #Soliloquy #SongDerWoche #TooMuch #UniversalMusic /Lars Hünerfürst
🐦🔗: https://twitter.com/NHuenerfuerst/status/1603454893624377354
#universalmusic #toomuch #songderwoche #soliloquy #schlagzeug #nicolassubrechicot #loudoillon #hingabe #eGitarre #Barclay #sdw
Ein #Bildungsforum zu Ehren von #Ingo_Kramer, des Vorsitzenden der #Stiftung_der_Deutschen_Wirtschaft (#sdw) und des #Ehrenpräsident|en der #BDA | #Bundesvereinigung_der_Deutschen_Arbeitgeberverbände. Für mich als #Altstipendiat oder im #sdw-Sprech #Alumnus ein ganz besonderer #Abend zu „#SozialeMarktwirtschaft“ und „#Bildung“ mit besonderer #Musik🎷🎶… \ #sdwAlumni \ #ChancenEuro
#bildungsforum #ingo_kramer #stiftung_der_deutschen_wirtschaft #sdw #ehrenprasident #bda #bundesvereinigung_der_deutschen_arbeitgeberverbande #altstipendiat #alumnus #abend #SozialeMarktwirtschaft #bildung #Musik #sdwalumni #chanceneuro