Filigree Playground

A small webserver that generates text using Filigree (on the server side).

Glitch instructions

To see results

If you don't see the output pane with results, click the "Show" sunglasses button in the top left and choose "Next to the code".

To work on files

The top of server.js has a bunch of options including which grammar file to use, and whether or not to show the structure of the results or only the plain text result.

Edit the grammar files in the grammars/ folder.

Everything will reload as you type, if you give it a couple of seconds.

Making a new grammar file in Glitch is slightly weird. You have to include the folder name as part of the filename, like grammars/whatever.filigree. That's the only way to get a file into a folder.

Filigreee syntax documentation is over here

You can change the visual styles in public/style.css

Errors in Filigree files will show up as part of the output page (in the right pane). Errors in the Javascript go into Glitch's Log pane at the bottom left (inside the Tools button)

You can remove the Glitch logo from your page - look for "include the Glitch button" in views/index.html

Screenshots