tokenizer: remove TokenStream, use sequences instead

This commit is contained in:
alex committed 2023-10-16 22:16:53 -07:00
1 parent 15f5f313cc
commit e3bfa3fbfc
7 files changed
+58 -52

No files matched your search

@@ -20,11 +20,7 @@ class RunCommand : CliktCommand(help = "Run Program", name = "run") {
override fun run() {
val tool = FileTool(PlatformFsProvider.resolve(path))
val scope = Scope.root()
val main = tool.loadMainFunction(scope, setupEvaluator = {
addNativeProvider("internal", InternalNativeProvider(quiet = quiet))
addNativeProvider("ffi", FfiNativeProvider())
addNativeProvider("java", JavaNativeProvider())
})
val main = tool.loadMainFunctionStandard(scope, quiet = quiet)
if (dumpScope) {
val functionContext = main as FunctionContext