Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
fix prebuild workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhue committed Feb 11, 2021
1 parent 1a264ad commit f837d93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Some may require you to set up a [development](#development) environment.
To parse a file and emit a syntax tree run
$ yarn parse file.tn
$ yarn parse-tony file.tn
where `file.tn` is the relative path to the file you want to parse.
Expand All @@ -70,6 +70,8 @@ For a simple hello world use
io->print('hello world')
```

Use `yarn parse-dtn file.dtn` to parse a module declaration file.

### TypeScript / JavaScript

Import the parser with
Expand Down
4 changes: 2 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"sources": [
"tony/src/parser.c",
"tony/src/scanner.c",
"tony/src/scanner.cc",
"tony/src/binding.cc"
],
"cflags_c": [
Expand All @@ -23,7 +23,7 @@
],
"sources": [
"dtn/src/parser.c",
"dtn/src/scanner.c",
"dtn/src/scanner.cc",
"dtn/src/binding.cc"
],
"cflags_c": [
Expand Down

0 comments on commit f837d93

Please sign in to comment.