Selaa lähdekoodia

Merge branch 'master' of github.com:Alpha-Atom/babys-first-compiler

Matt Coles 9 vuotta sitten
vanhempi
commit
6c21b9328d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -10,8 +10,8 @@ In addition to the regular include(coming soon), there is also a preprocessing d
10 10
 to just directly insert the contents of `<filename>` into the file. Instead of wasting the compilers energy checking for circular
11 11
 sources, you have two options, to not be so stupid or wait for the call stack to overflow.
12 12
 
13
-The compiler runs like `node compiler.js file.mc` where `file.mc` is the file you wish to compile, and this will produce an
14
-`output.js` which requires `stdlib.js` to be in the same directory when running for now at least.
13
+The compiler runs like `node compiler.js file.mc` where `file.mc` is the file you wish to compile, and this will produce a
14
+`file.mc.js` which requires the `lib` to be present in the same directory when running for now at least.
15 15
 
16 16
 Functions and variables are in different scopes, so variables can have the same names as functions - even builtins,
17 17
 thus making `(assign assign 5)` a totally okay thing to do.