Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by unixhero on Monday May 21, 2018 @10:06AM
(#17118441)
Where would one read about Forth's principles? Colour me intrigued.
[ Parent
| on HN ]
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by sitkack on Monday May 21, 2018 @12:43PM
(#17119709)
I recommend playing with a postscript repl, either ghostscript or couple of the online ones.
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by protomyth on Monday May 21, 2018 @01:56PM
(#17120286)
If you go the PostScript route then check out the PostScript Language Tutorial and Cookbook (blue book). It is available in a lot of places on the net and quite a nice tutorial.
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by sitkack on Tuesday May 22, 2018 @12:35AM
(#17123731)
Great recommendation.
https://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF
fnal.gov is the largest, most complete trove of postscript language material on the net.
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by macintux on Monday May 21, 2018 @10:10AM
(#17118467)
I don't know the best resource, but Thinking in Forth should get you started.
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by jdmoreira on Monday May 21, 2018 @11:35AM
(#17119142)
Starting FORTH might be a better introduction. It's also from Leo Brodie.
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by mud_dauber on Monday May 21, 2018 @10:47AM
(#17118763)
You beat me to it. Thinking in Forth is indeed the place to start.
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by nickpsecurity on Monday May 21, 2018 @03:00PM
(#17120816)
Since the others gave you promotional material, I'll give you a write-up that discusses the good and weird sides of it:
https://news.ycombinator.com/item?id=1680149
The weird stuff makes a lot of people decide not to use it. So, they should know ahead of time. I do think there's potential for a Forth with less weird stuff or more compatible with C. There could even be one already given a benefit of Forth is it's easy to write interpreters for it. On that note, here's a tutorial series illustrating that:
Re:Live Coding in Sporth: A Stack-Based Language for Audio S...
by dogprez on Monday May 21, 2018 @11:47AM
(#17119224)
I played around with Forth last year and found it very fun. Similar to Lisp it has a simple ruleset with which you can build up abstractions that almost look like a DSL. I'd say it sits somewhere between Assembly and C. It's like writing assembly but you don't have to worry about register assignment.