Search
Items tagged with: Forth
http://www.call-with-current-continuation.org/uf/uf.html
"Assembly Nights Season 2" is done! I present the conclusion of Meow5, my "thought experiment taken too far". 🐱🐱🐱🐱🐱
this sounds like the second good reason to take a closer look at #forth i've found within a week:
"I'm starting a series of articles that aims to hand-hold my former self, a regular web developer, into the rabbit hole leading to the wonderful world of low level programming. Hopefully, I can hand-hold you too.
The general goal is to broaden your perspectives on the subject of computing. I intend do to that through story arcs leading, step by step, to some nice and shiny objective. I also intend to work into a gimmick where in each episode, I get to tell one corny joke."
At the SVFIG #Forth day in November 2023, I will be giving a talk on the #j1 family of processors.
https://www.meetup.com/sv-fig/events/296503788/
#fpga
SVFIG Forth Day In Person and Zoom --- Third Saturday!
**WE NEED SPEAKERS!** **=+=+** Join us on Zoom or in person at Stanford for our annual Forth Day! We'll have the opportunity to meet in person enjoy lunchMeetup
Glosario terminado!
https://gitlab.com/pachapunk/uf/-/blob/cutro/GLOSARIO?ref_type=heads
GLOSARIO · cutro · Pacha Punk / uf · GitLab
A traditional Forth system for the Uxn virtual computerGitLab
Load block #11 and enjoy. #forth
https://sr.ht/~maleza/enjoying-forth/
http://www.call-with-current-continuation.org/uf/uf.html
Implementing the recent changes to Varvara in Oquonie, I noticed how many single-purpose labels I used merely to hop over short lengths of code, enough that having ran out of ideas for names to called them, I would default to like &skip, &ok, or &continue. The solution was to create anonymous labels, and as to be capable of nesting them, I ended up inadvertently adding lambdas to Uxntal.
Just stumbled on "Adding Lambda Expressions to #Forth"
http://www.euroforth.org/ef06/lynas-stoddart06.pdf
Too little too late.
I'm excited to announce the completion of "Forth: The programming language that writes itself: The Web Page (Charles H. Moore and the pursuit of simplicity.)"
Recommended for fans of: historical computing, programming languages, and space technology.
http://ratfactor.com/forth/the_programming_language_that_writes_itself.html
#forth #RetroComputing #history
Forth: The programming language that writes itself: The Web Page
An exploration of the evolution and meaning of the Forth programming language and its context in history.ratfactor.com
Book Review: A Philosophy of Software Design
The book frames abstract concepts very clearly, attaches concise names to them, and shows their implications.Sandstorm - Wir programmieren Zukunft.
I'm happy to report that Shoehorn V2.0 is now pushed to my SourceHut repo.
Shoehorn is a #Forth subset bootstrap compiler for use in bringing up new hardware completely from scratch.
I'm currently using it to write my own Forth interpreter/compiler for my homebrew 65816-based computer design, proving that it's not just a toy. (If you are lost figuring out where to start, look in mkdisk0
and sysf.f
)
This version introduces support for CREATE, DO/?DO, LOOP/+LOOP, and a new way of supporting primitives that allows them to be linked into the dictionary hash chain.
And here it is, at long last. A rough, preliminary sketch of the new instruction set architecture for a next-generation successor to my S16X4 #stack CPU family.
This is a proper #Forth CPU ISA design. A bit CISCy, though, but I think it's usable.
http://ratfactor.com/forth/forth_talk_2023.html
I happen to know some of you enjoy space ships, calculators, and old computers as much as I do.
#MastoArt #RetroComputing #Forth #ConfusedCat
It's mostly functional on the Teensy 4.1. I still have some issues with the block words and testing the serial console, but I can make an LED blink, and the rest of the system is working.
I've also started working on getting it to run on a Raspberry Pi Pico. It'll need at least some adjustments to fit into the memory of the RP2040 (probably will need to sacrifice a little of the vm image RAM, unless I decide to wire up something for external memory.)
#forth #programming
Btw. More examples and the full source code for the VM, the REPL & transpiler and demos can all be found here:
https://github.com/thi-ng/charlie
3/4
GitHub - thi-ng/charlie: TypeScript based Forth-like VM w/ online REPL and extensive kernel (incl. WebGL/WebAudio support)
TypeScript based Forth-like VM w/ online REPL and extensive kernel (incl. WebGL/WebAudio support) - GitHub - thi-ng/charlie: TypeScript based Forth-like VM w/ online REPL and extensive kernel (incl...GitHub
The attached image shows some Forth source code defining an 2-oscillator DSP stack for a bass synth (with FX) and a semi-randomized sequencer...
Project repo:
https://github.com/thi-ng/synstack
6mins live performance (using a polyphonic graph based version of the synth running on an STM32F746 board, with the Korg Nanocontrol used as sequencer and for param/effect control):
https://www.youtube.com/watch?v=41FKE3PYjnE
2/4
GitHub - thi-ng/synstack: Modular soft synth & Forth based VM for audio DSL experiments
Modular soft synth & Forth based VM for audio DSL experiments - GitHub - thi-ng/synstack: Modular soft synth & Forth based VM for audio DSL experimentsGitHub
First off, a #WebAudio prototype from 2015, made in the browser REPL at http://forth.thi.ng (audio starts at ~2:15)
There's only a single audio buffer used here (boilerplate setup for that in the first 2 mins of the video) and all subsequent operations just write to that buffer or manipulate its contents...
1/4
https://thi.ng/pointfree
https://thi.ng/pointfree-lang
(Btw. Both packages have pretty extensive readmes...)
This setup then made it very easy to create new syntax additions & language extensions, both harnessing other JS/TS packages. The example shown in the video (from 2020) is a short #livecoding session demonstrating a custom vocab to generate complex 2D geometries, using https://thi.ng/geom under the hood...
4/4
versions, but only extensions. #forth is created by practice.
DSSP is created by theory. But they are similar and it is a
fact of great importance.
http://wiki.xxiivv.com/docs/dssp.txt
https://en.wikipedia.org/wiki/Joy_(programming_language)
@d6 is right - Factor was originally on the JVM but isn't any more.
https://en.wikipedia.org/wiki/Joy_(programming_language)
But I still want a true interactive macro-assembler - a subroutine-threaded #Forth with inline CODE word capabilities.
- No more PHP
- Simpler server config
- Works as static site generator if you desire
https://lichen.sensorstation.co/
vmgen, a sub-project of gforth, has a compiler that uses them in code generation.
https://www.complang.tuwien.ac.at/anton/vmgen/
So, #forth has this syntax to define words which is just a comment saying what goes in, and what comes out. And I was wondering if I could use this in conjunction with the actual body of the routine while counting how many items are expected at the end of the routine, and throwing a warning when it doesn't match.
Is it arity validator?
https://en.m.wikipedia.org/wiki/Arity