Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
minor tweaks/fixes
  • Loading branch information
getify committed Oct 15, 2023
1 parent a8f2481 commit 9cc1594
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ Hopefully, without too much heavy orientation, code like this will settle into f
```java
defn getFavoriteMovies(userID) ^(IO ~<< {
def movieIDs:: fetch(`"/movies/`userID`");
def movieTitles:: all(
def movieData:: all(
movieIDs ~map (movieID) {
fetch(`"/movie/`movieID`")
}
~map (.)|,"title"|
);
def itemsHTML: (~fold)(
movieTitles,
movieData ~map (.)|,"title"|,
"",
(html,title) { `"`html`<li>`title`</li>" }
);
Expand Down Expand Up @@ -252,9 +251,9 @@ For implementers or language design enthusiasts, a [formal grammar specification

However, [Foi-Toy](foi-toy/README.md) is an experimental CLI tool for playing around with **Foi** code, prior to there being an official compiler.

Foi-Toy currently supports tokenizing **Foi** code, and syntax highlighting (via HTML/CSS) as shown in the above screenshots. Foi-Toy can also validate code against the formal language grammar.
Foi-Toy currently supports tokenizing **Foi** code, and syntax highlighting (via HTML/CSS). Foi-Toy can also validate code against the formal language grammar.

Additionally, there's an [online version of Foi-Toy](https://toy.foi-lang.com) to play around with tokenization, syntax highlighting, and validation.
Additionally, there's an [online version of Foi-Toy](https://toy.foi-lang.com) to play around with tokenization, validation, and syntax highlighting.

## License

Expand Down

0 comments on commit 9cc1594

Please sign in to comment.