diff options
| Commit | b9243748c11a6391068e6501c96040021572297d (patch) | |
|---|---|---|
| Author | 2020-10-26 22:03:28 +0200 | |
| Committer | 2020-10-26 22:03:28 +0200 | |
| Files | ebc137f076db884fbc37fa9ca904b45c457fdb1e /JSImpl/src/main.cpp | |
| IPL-b9243748c11a6391068e6501c96040021572297d.tar IPL-b9243748c11a6391068e6501c96040021572297d.tar.gz IPL-b9243748c11a6391068e6501c96040021572297d.zip | ||
| Parent | 6e2c30d863cd10337daeb5d22bb2f51cb8c9c56f (diff) | |
Add example usage of command line
1 files changed, 3 insertions, 0 deletions
| -rw-r--r-- | JSImpl/src/main.cpp | 3 |
diff --git a/JSImpl/src/main.cpp b/JSImpl/src/main.cpp index c1cfe64..6ed1122 100644 --- a/JSImpl/src/main.cpp +++ b/JSImpl/src/main.cpp @@ -227,6 +227,9 @@ private: int main(int argc, char* argv[]) { + // You can try => + // Working dir: $(ProjectDir) + // Command arguments: --input ./../examples/code.js --output ./../examples/some.ast --ast CammandLineApp cmd; cmd.RunAsCommandLine(argc, argv); //auto r = Tokenize("a#4", {true ,true}); |
