Sign in
Code Monkey Have Fun
Tags
Ape
Books
C#
Calculators
Colemak
Composition
Concatenative Languages
Continuations
CPS
Curiosities
DCPU-16
Demo Code
F#
Fignition
Forth
FRP
FScheme
HP-35
HPCalcs
Interpreters
Kata
Kids Programming
Lambda
Lazy
LegoNXT
Logic Programming
Logo
Magimathics
Memoization
Microsoft Life
Monads
NDP
Pages
Project Euler
Ramble
Recursion
Robotics
RPN
Scheme
Streams
TCO
TransForth
Turing Machine
Turtle Graphics
VMs
XSLT
Browse by Tags
MSDN Blogs
>
Code Monkey Have Fun
>
All Tags
>
forth
Tagged Content List
Blog Post:
If you can’t beat ‘em, join ‘em
Ashley Nathan Feniello
I’ve had fun making the little DCPU emulator (past couple of posts: 1 , 2 ), but sadly, I’ve had no time to make a Forth for it. But hey, Matt Hellige has already done it ! I just took his GoForth and got it up and going. Just grab the image from here and load it up: let image = File.ReadAllBytes @"...
on
17 Apr 2012
Blog Post:
Turtle Graphics on the Fignition
Ashley Nathan Feniello
The Fignition board is a fun little piece of 8-bit fun I tell ya! I’ve been having a blast with it. It’s an ATmega168 with 8Kb SRAM and 4Mbits of flash with video out (there’s also a sound mod for it ). In this post I want to show off an implementation of Turtle Graphics I’ve...
on
18 Feb 2012
Blog Post:
Introducing the Cult of the Bound Variable to the Cult of Forth
Ashley Nathan Feniello
[The twelfth in a series of posts on the evolution of TransForth ] It’s been quite fun playing with this Universal Machine from the Cult of the Bound Variable . In this post we’re going to continue the journey toward building a full Forth for this machine by assembling a Forth inner interpreter;...
on
7 Jan 2012
Blog Post:
Programming a 2000 Year Old Sandstone Computer
Ashley Nathan Feniello
[The eleventh in a series of posts on the evolution of TransForth ] If you think coding with punch cards is old school, you should try using sandstone tablets! Legend has it that members of the Cult of the Bound Variable designed and may have even constructed a city-sized machine powered by falling...
on
18 Sep 2011
Blog Post:
Meta-Circular Chicken and Egg
Ashley Nathan Feniello
[The tenth in a series of posts on the evolution of TransForth ] This post may not quite be deserving of a wizard’s cape and 2001 Space Odyssey background music as when Sussman writes out Lisp in Lisp (at 34:34 - my absolute favorite SICP lecture by the way), but still… we are about to...
on
4 Sep 2011
Blog Post:
Going “Retro” and Loving It!
Ashley Nathan Feniello
Continuing my concatenative language kick, I’ve been having fun playing with Retro ( http://www.retroforth.com ) and couldn’t resist making an F#-based VM on which to run it. It is an elegant, minimal Forth with an important twist. What caught my eye is that it supports quotations and combinators...
on
15 Aug 2011
Blog Post:
Programming is “Pointless”
Ashley Nathan Feniello
Some may call it “pointless”, but I absolutely love the point-free tacit programming style . The level of brevity can be truly astounding! Some of the terseness comes from not having to mention parameter names all over the place and much of it comes from the relentless factoring that this...
on
21 Apr 2011
Blog Post:
Spanning Two Worlds
Ashley Nathan Feniello
[The ninth in a series of posts on the evolution of TransForth ] The dictionary we have at the moment is split across two worlds. The definitions are in Forth-world; packed into plain memory. But we still have the F#-world mapping of WordRecord s to those memory locations. let mutable dict = [] ...
on
30 Mar 2011
Blog Post:
Heart Transplant
Ashley Nathan Feniello
[The eighth in a series of posts on the evolution of TransForth ] They say that the inner interpreter is the heart of Forth and outer interpreter is the soul. It’s time to give TransForth a heart transplant! To really understand what we’re doing here, I’d suggest watching my...
on
26 Mar 2011
Blog Post:
Tearing Away the Scaffolding
Ashley Nathan Feniello
[The seventh in a series of posts on the evolution of TransForth ] At this point we have a reasonably complete Forth that’s pretty fun to play with. Like I said in the first post though, we don’t just want to build a Forth in F#. Stopping here wouldn’t be in keeping with “Forth...
on
18 Feb 2011
Blog Post:
: LOOPTY DO I . LOOP ;
Ashley Nathan Feniello
[The sixth in a series of posts on the evolution of TransForth ] There’s beginning to be more Forth than F# in these posts! The last major piece we’re missing in the language, aside from some compile-time trickery we’ll get into later, is the standard Forth looping constructs. We’re...
on
6 Feb 2011
Blog Post:
IF … ELSE … THEN
Ashley Nathan Feniello
[The fifth in a series of posts on the evolution of TransForth ] Sadly (or happily), we’ve come to a point at which we need to begin thinking like an assembly programmer in order to appreciate the mechanics of Forth’s control flow words. We’ll start by implementing IF …...
on
4 Feb 2011
Blog Post:
VARIABLE X
Ashley Nathan Feniello
[The fourth in a series of posts on the evolution of TransForth ] We’re getting very close to the point at which we’ll need to start moving closer to the machine with things like direct memory access. Implementing IF / ELSE / THEN , which we’ll do in the next post, will practically...
on
2 Feb 2011
Blog Post:
: REFACTOR TRIM BUILD ;
Ashley Nathan Feniello
[The third in a series of posts on the evolution of TransForth ] Now that we have Forth hobbling along, we can start to peel away the scaffolding. Some of the things we’ve defined in F# can now be redefined in Forth instead. As we go along, I think you’ll be amazed by just how little it...
on
2 Feb 2011
Blog Post:
: HELLO FORTH WORLD ;
Ashley Nathan Feniello
[The second in a series of posts on the evolution of TransForth ] In the last post we completed the tokenizer/parser and the REPL along with some baked in primitives. We now want to be able to add to the dictionary of known words from within Forth itself; to build secondary new words that are essentially...
on
31 Jan 2011
Blog Post:
FORTH LOVE? IF HONK THEN
Ashley Nathan Feniello
[The first in a series of posts on the evolution of TransForth ] I’ve been enthralled by retro computing recently and have been filling my bookshelf [yes, actual bound paper books] with (nearly) extinct programming language topics: Lisp, Fortran, Smalltalk, APL, Forth, … About this time...
on
30 Jan 2011
Page 1 of 1 (16 items)