Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser authored Oct 19, 2023
1 parent 4046183 commit 6eedc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ parse(`

You can make any modifications to **Goldstein AST** and then `print` back to **Goldstein**:

```
```js
import {parse, print} from 'goldstein';

const ast = parse(`const t = try f('hello')`);
Expand All @@ -195,7 +195,7 @@ const source = print(ast);

You can even convert **JavaScript** to **Goldstein** with:

```
```js
import {convert} from 'goldstein';

const ast = convert(`const t = tryCatch(f, 'hello');`;

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (16.x)

Unexpected token, expected "," parser

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (16.x)

Parsing error: Unexpected token, expected "," (3:53)

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (18.x)

Unexpected token, expected "," parser

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (18.x)

Parsing error: Unexpected token, expected "," (3:53)

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (20.x)

Unexpected token, expected "," parser

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (20.x)

Parsing error: Unexpected token, expected "," (3:53)

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (21.x)

Unexpected token, expected "," parser

Check failure on line 201 in README.md

View workflow job for this annotation

GitHub Actions / build (21.x)

Parsing error: Unexpected token, expected "," (3:53)
Expand Down

0 comments on commit 6eedc97

Please sign in to comment.