An Introduction to Forth, a Quirky Yet Amazing Language

Comments

Comments are closed.

Anonymous at 19:12 on 9 May 2015

Very fun, thank you. I would have like to have seen less about extending the compiler with a new flow control construct and more about how it scales up quickly from hardware level to high level.

1 motor-adr ! ( starts motor by storing a one bit at the motor address -- very low level )

quickly becomes

motor-adr step ( steps the motor one step )

then, later

10 degrees motor-adr step ( turns the motor about 10 degrees )

and so on