commit 15c64a46e697d999123fbc0fe96a270c08e62340 parent df9b30287c7a76a461590bba65169e112e785c1e Author: lash <dev@holbrook.no> Date: Wed, 12 Apr 2023 18:20:45 +0100 Fix dev commands directory structure Diffstat:
M | README.md | | | 4 | ++-- |
R | dev/testdata/generate_testdata.go -> dev/gendata/main.go | | | 0 | |
R | dev/interactive.go -> dev/interactive/main.go | | | 0 | |
A | vm/doc.go | | | 2 | ++ |
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -192,14 +192,14 @@ Located in the `dev/` directory. ### Test data generation -`go run ./dev/testdata/ <directory>` +`go run ./dev/gendata/ <directory>` Outputs bytecodes and templates for test data scenarios used in `engine` unit tests. ### Interactive runner -`go run ./dev [-d <data_directory>] [--root <root_symbol>]` +`go run ./dev/interactive [-d <data_directory>] [--root <root_symbol>]` Creates a new interactive session using `engine.DefaultEngine`, starting execution at symbol `root_symbol` diff --git a/dev/testdata/generate_testdata.go b/dev/gendata/main.go diff --git a/dev/interactive.go b/dev/interactive/main.go diff --git a/vm/doc.go b/vm/doc.go @@ -0,0 +1,2 @@ +// Package vm handles the line-by-line execution of festive bytecode. +package vm