Horrible programming language feature idea of the day: allowing abbreviating CamelCaseIdentifiers, eg like CCI
I was reading the Python docs for regular expressions, to figure out (once again) how to use them for lexical analysis, just to discover they actually added a chapter for that, how lovely 🥰
*yoink*
https://docs.python.org/3/library/re.html#writing-a-tokenizer
The beginning of a compiler: I can parse ML style function application, generate Python AST from it, then execute it :3
I've been considering how to handle types and values in #jpl especially with user defined types. I don't think I want pointers, but the thought of 'everything is a reference' is appealing. it feels like either a great idea or a terrible one
#jpl #PLdev #programminglanguages
here's an example of a #jpl function and the C++ code it outputs
#jpl #PLdev #programminglanguages
It's sooo slow but the reason it's this egregious is the FPS lock, since it executes one ASTree node per frame (threads are for nerds). Need to, by default, disable the framelock I "helpfully" enabled by default in my retroflat graphics lib.
Still, not bad for a weekend and a couple nights at the "just dicking around with #PLDev" level!
I put up a new branch for everything I've been working on for #jpl 0.2.0
it's not done yet, but it's the start of functions, multifile support, and variable mutators. give it a peak if you want to see what's cooking
#jpl #PLdev #programminglangues
I put up a new branch for everything I've been working on for #jpl 0.2.0
it's not done yet, but it's the start of functions, multifile support, and variable mutators. give it a peak if you want to see what's cooking
#programminglangues #PLdev #jpl
I put up a new branch for everything I've been working on for #jpl 0.2.0
it's not done yet, but it's the start of functions, multifile support, and variable mutators. give it a peak if you want to see what's cooking
#jpl #PLdev #programminglangues
I put up a new branch for everything I've been working on for #jpl 0.2.0
it's not done yet, but it's the start of functions, multifile support, and variable mutators. give it a peak if you want to se what's cooking
#jpl #PLdev #programminglangues
I'm looking for #podcast recommendations in the #osdev and #pldev spaces (need something to do during upcoming vacation), ideally heavily into the nitty-gritty of #riscv, but I'll take #arm or #x86_64 too. No need the be shy on #TypeTheory either. I'm already listening to Type Theory Forall, The Changelog, Mariane Writes a Programming Language, Syslog, and The Type Theory Podcast.
#podcast #osdev #PLdev #riscv #arm #x86_64 #typetheory
#PLDev small lang and repl in haskell, because why not, now supports conditionals! uwu
I finally solved advent of code day 7 in my language. It involved (finally) implementing upward closures, writing a parser combinator and again, fixing numerous bugs.
Hi closing my #PLdev for the year, I have all the tests passing and multi dispatch implemented!
Plans for the new year are to spetialize tables with interfaces so they group each different implementation together, making virtual calls on a foreach hot!
Hi closing my #PLdev for the year, I have all the tests passing and multi dispatch implemented!
Plans for the new year are to spetialize tables with interfaces so they group each different implementation together, making virtual calls on a foreach hot!
I'm out of my #PLdev pit of today. No showable progress really, but I had to refactor a few things to make next steps possible as everything was getting brittle.
TL;DR: storing paths (as in namespace.class.field) as strings was a mistake, now they're into wrapper classes. Not perfect wrapper classes, but wrapper classes nontheless.