diff options
Diffstat (limited to 'src/js/tinyvm.ts')
| -rw-r--r-- | src/js/tinyvm.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/tinyvm.ts b/src/js/tinyvm.ts index b6146fb..4b4bc39 100644 --- a/src/js/tinyvm.ts +++ b/src/js/tinyvm.ts @@ -10,7 +10,7 @@ declare const process: any, require: any, module: any, __dirname: string, Buffer const fs: any = typeof require === 'function' ? require('fs') : undefined; const path: any = typeof require === 'function' ? require('path') : undefined; -// the compiler's map, computed from src/core/memmap.h at build time (src/js/layout.ts) +// the compiler's map, computed from src/core/memmap.h at build time (build/js/layout.js) import { MAP } from './layout'; // float bits stay in vm words; arithmetic uses javascript's binary64 numbers. @@ -915,11 +915,11 @@ export class TinyVM { } } -// command line runner: node src/js/tinyvm.js <file.zc>, or the source on stdin +// command line runner: node build/js/tinyvm.js <file.zc>, or the source on stdin if (typeof require === 'function' && typeof module !== 'undefined' && require.main === module) { const option = process.argv[2]; if (option === '--help' || option === '-h') { - process.stdout.write('usage: node src/js/tinyvm.js [file.zc]\n' + + process.stdout.write('usage: node build/js/tinyvm.js [file.zc]\n' + 'compiles and runs the file, or reads source from stdin when no file is supplied.\n' + 'input after a backtick is program input.\n' + 'options:\n --help, -h show this help and exit\n' + |
