2021-05-13 05:23:42 +00:00
|
|
|
local istream = require("InputStream")
|
2021-05-13 09:19:54 +00:00
|
|
|
local helpers = require("CoreHelpers")
|
2021-05-19 03:43:19 +00:00
|
|
|
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-19 03:43:19 +00:00
|
|
|
|
|
|
|
|
2021-05-20 03:04:04 +00:00
|
|
|
--interpreters.start(fileStream("codetest.txt"))
|
2021-05-12 08:32:25 +00:00
|
|
|
|
2021-05-13 05:23:42 +00:00
|
|
|
|
2021-05-20 03:04:04 +00:00
|
|
|
interpreters.start(istream:new(standardInputRefill))
|
2021-05-19 03:43:19 +00:00
|
|
|
|
2021-05-12 08:32:25 +00:00
|
|
|
|
2021-05-19 03:43:19 +00:00
|
|
|
|
2021-05-13 05:23:42 +00:00
|
|
|
|