Find a file
2014-10-10 22:24:16 -04:00
docs Added DIA docs for Core Classes. 2014-09-22 21:18:05 -04:00
lib Symbol map now handles ~/. equivalence. 2014-10-10 22:24:16 -04:00
tests Symbol map now handles ~/. equivalence. 2014-10-10 22:24:16 -04:00
.gitignore Day 5d - Updated .gitignore to ignore .bat files. 2014-09-14 20:24:49 -04:00
.rdoc_options The Token struct and rdoc corrections. 2014-09-19 13:19:33 -04:00
fOOrth.gemspec Added tests for string and file sources. 2014-09-18 12:49:17 -04:00
fOOrth.reek Day 1 2014-09-09 15:35:22 -04:00
license.txt Day 1 2014-09-09 15:35:22 -04:00
rakefile.rb Refactored the core. Much less repitition now. 2014-10-09 15:13:03 -04:00
readme.txt Updated the usage examples. 2014-09-23 13:25:50 -04:00
reek.txt Continued with redesign of mapping system. 2014-10-05 20:25:58 -04:00
sire.rb Day 2 2014-09-10 23:38:05 -04:00

= The fOOrth Language gem.

This file contains the read-me for the fOOrth language gem. The fOOrth
language is an experimental variant of FORTH that attempts to incorporate
object oriented and functional programming concepts.

== Usage
Adding fOOrth can be as simple as:

 require 'fOOrth'
 XfOOrth.main

This will launch an interactive fOOrth session. Alternatively this can be
done with:

 rake run

Be sure to be in the folder that contains the rakefile in order for this
command to work.

<br>If, instead, a non-interactive facility is required, use:

 require 'fOOrth'
 XfOOrth.virtual_machine.process_string '1 2 +'

where the string is fOOrth code to be executed, or for a file of code, use:

 require 'fOOrth'
 XfOOrth.virtual_machine.process_file 'my_file.4th'


== Notes

* Tested under ruby 1.9.3p484 (2013-11-22) [i386-mingw32]
* No notable dependencies. minitest, rake, rdoc and reek are used in development.
* I have used rdoc 4.0.1 here. Later versions of rdoc look like crap!