@technomancy@aw oh gosh i work in restructuredtext every day for work and i hate it haha.
one thing i opted in for is my own very markdown-like markup language that i purposed made easier to parse, leaving the hard-to-parse parts out, or making an easier markup for those or not making something able to have infinitely arbitrarily nested markup, such as lists
that way,i can just copy the algorithm i used to parse it to a other language relatively easy
one thing that's really annoying about C is how you have some things that require pointer arithmetic that return, say, an int type, while you needing to iterate over character arrays using size_t or something, and then needing to sometimes do arithmetic with two types or comparison of < or >, and strict compilers telling you it's a no no to compare different types. it's like how the heck are you supposed to traverse strings at calculated indexes nicely lol
@aw@neauoire if you like ruby you may also like elixir! super similar syntax. ive been really enjoying elixir lately! (minus the do...end stuff that i have trouble keeping track of in comparison to braces, brackets or parentheses)
@SpindleyQ this is such gold to me!! gonna save some of these temporarily to internalize what u wrote to learn a bit more but im def gonna jump into assembly then, i guess for my intel laptop which would probably use x86_64 bit assembly
working on my own lisp has made me happy that there are actually not shitty lisps available that don't break shit and can be used to build amazing things lol
keep thinking about my "public mentions/messages over rss" idea ive had for a while where i have an html page containing a list of links.
each link title text is a friend's desired nickname, told through email or irc or something. the link url is a link to an their-nickname.rss which just contains messages u sent to them, so they can subscribe to that url pointing to the rss file
starting to wonder if i should just cheat and get all of the (def symbol value) statements from my shitty lisp implementation and then start evaluating so i dont have to think about carrying over the hashmap of functions defined by user in each tuple returned by each recursion haha. or even just store them in a file during runtime and update that file every time a new definition is made hahaha. this feels like cheating or avoiding the whole "dont mutate globals" because you cant in elixir
@technomancy fuckkkk that would be sick, i assume there are still like super core minimal functions written in the "parent" language to kick things off? or not even that??
definitions work!! i admit i had to heavily go the lispex route. been studying it's code for like 2 weeks and finally see why it is how it is, but i handle environments way shittier because it's funner to do it my own way
oh oh and i fixed my repl now! nice the eval returns a tuple, which contains the function and the environment, which i pass to the next recursion of the repl as an arg to support definitons in the reply :D
now i kinda wanna see if i can get like... definition a standard library implemented in the language itself, instead of elixir. maybe i'll reduce the amount of "core" functions written in elixir so i can write them in the lisp im making
he/theyhttps://m455.casa/i like computer programming, personal websites, and non-corporate digital communitiesmy posts are automatically deleted after 14 days, and i reject most follow requests. dont take it personally. been on the fediverse since 2017!