forth-stuff/ForthMachine.tl

17 lines
381 B
Plaintext

local istream = require("InputStream")
local helpers = require("CoreHelpers")
local interpreters = require("Interpreters")
local standardInputRefill = helpers.standardInputRefill
local oneReadInputStream = helpers.oneReadInputStream
local fileStream = helpers.fileStream
--interpreters.start(fileStream("codetest.txt"))
interpreters.start(istream:new(standardInputRefill))