joyfl — v0.2 : Debug Information Quality of life improvements on the surface for error handling, minor changes in the language design, one performance improvement. ▶︎ Condition-checking operators are suffixed with ?, ops with side-effects are suffixed with !.
▶︎
@alexjc
-
joyfl v0.2 Debug Information Language Update
By
–
-

Token Origin Tracking and Fair Trade Implementation Updates
By
–
Now tracking the origin of each parsed token to ensure it's organic and Fair Trade, and the location of tokens is shown in better error messages… Many other changes today, will likely make the next release tomorrow!
-

Lark Parser: Handling Token Precedence in Bottom-Up Parsing
By
–
The parser I used is a library called Lark. It was relatively easy to get up and running, except for the implicit precedence of the tokens! Lark's algorithm is bottom-up: it parses tokens first then figures out where they fit. If your tokens are ambiguously defined (e.g. a
-
Memory Requirements for Micro-Controller Language Model Processing
By
–
RQ3: Can the memory requirements of a "micro"-controller be met by Joy? In order to process 99% of tokens, keeping up with the GPUs (in and out), it'll require using all cores — so the memory overhead for the language needs to be minimal. Bonus would be mostly static memory
-
Core Combinators Required for Functional Programming Systems
By
–
RQ2: Which core set of 'combinators' is necessary to get anything done? This has been my focus today! The original Joy implementation has many built-in primitives within the core VM: from the obvious function calling, looping and stepping through lists, to linear recursion
-
Joy Token Micro-Controller: Elegant Implementation for Efficiency Security
By
–
RQ1: What's necessary for Joy to work as a token 'micro-controller'? Are you wondering why I've been focused on an elegant implementation? I believe this makes two things possible: (i) efficiency needed to generate tokens during training, and (ii) security [additionally]
-

Joyfl v0.1: Minimal Python Interpreter with 342 Lines
By
–
v0.1 : Minimum Viable Interpreter Most notable is that the source code is only ~342 lines — from parser to interpreter, including terminal interaction but excluding comments! ▶︎ You can launch the REPL just by running the `joyfl` script with Python 3.10+. All the samples
-
Joy Programming Language Implementation Updates and Design Elegance
By
–
I should clarify… I believe the *original* Joy design by Manfred von Thun (see link) is the most elegant ever, not this implementation — yet? I'll post implementation updates in the thread below over the next week or so… https://
hypercubed.github.io/joy/html/forth
-joy.html
… -
Microcontroller Language for LLM Token Processing and Training Data
By
–
R&D: While I love coding up new languages just for fun, this project has particular #ML / #LLM research questions in mind… What if there was a language for a 'micro-controller' able to process 99% of tokens? TRAINING: To produce training data, what's the middle ground
-
Joyfl: Minimal Elegant Joy Programming Language Dialect
By
–
NEW: I just released a tiny project called `joyfl` — a minimal but elegant dialect of Joy. #joyfl Joy is a so-called 'concatenative' and functional programming language, introduced 25 years ago. I now think of it as the most elegant language ever!