forth-stuff/ForthMachine.tl

17 lines
381 B
Plaintext
Raw Normal View History

local istream = require("InputStream")
local helpers = require("CoreHelpers")
local interpreters = require("Interpreters")
local standardInputRefill = helpers.standardInputRefill
2021-05-20 03:04:04 +00:00
local oneReadInputStream = helpers.oneReadInputStream
local fileStream = helpers.fileStream
2021-05-20 03:04:04 +00:00
--interpreters.start(fileStream("codetest.txt"))
2021-05-12 08:32:25 +00:00
2021-05-20 03:04:04 +00:00
interpreters.start(istream:new(standardInputRefill))
2021-05-12 08:32:25 +00:00