rcket banner

rcket

4 devlogs
6h 4m 53s

A fully complete text parser for programming languages because treesitter is limiting

Shuflentity

hopping back on this project after one billion other projects
made the display impl just be more consistent, it follows the form
NodeName (params)
which does look simple and i mean yea i guess thats the fucking point instead of doing
NodeName param (paramAsWell) wtf huh
it also actually says the node name instead of assuming the user knows theyre doing

Changelog

Attachment
0
Shuflentity

lots and lots and lots of refactoring
i want this system to be so future proof my adopted kids will use it (because i will be GAY)
i also want there to be any level of abstraction that anyone would ever want, like everything could be in one struct or smth
i added formatting the nodes into strings so that writing tests is easier
once again this is a library so the code shown is the project ACTUALLY IN USE RN

Changelog

Attachment
Attachment
0
Shuflentity

k so i was hardcoding the lexer types into the project even though i want this to be a general parser but i fixed that now and its better now
basically i did what i did previously for the parser and did a more complicated version for the lexer
IT WORKS THO BUT THE CODE IS FUCKING HIDEOUS AND I NEED COMMENTS (i swear its not ai bro) (ill fix it later)
once again, i the project doesnt “run” so ill show the test results and some of the tests (please dont smite me the code is USING the project)

Changelog

Attachment
Attachment
Attachment
0
Shuflentity

k i completly forgot to make this a ft project
so basically, i was having an issue with treesitter sucking ass, and it made me drop frg as a project for a while. then i realized im a programmer and i can solve my own issues without anyone elses help
this is my first real attempt at writing powerful derive macros that arent just a test
i cant really upload an img of my code working because like. it doesnt exist yet. this is a library. i can show that my tests pass tho

Changelog

Attachment
0