1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: initial interpreter code (#12605)

This commit is contained in:
crthpl
2021-12-08 00:09:10 -08:00
committed by GitHub
parent 525791fa3a
commit 2fbf7fea75
16 changed files with 3471 additions and 104 deletions

View File

@ -123,7 +123,8 @@ fn main() {
}
else {}
}
if command in ['run', 'build', 'build-module'] || command.ends_with('.v') || os.exists(command) {
if command in ['run', 'build', 'build-module', 'interpret'] || command.ends_with('.v')
|| os.exists(command) {
// println('command')
// println(prefs.path)
builder.compile(command, prefs)