Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismypassport committed Aug 19, 2022
1 parent 0b46c15 commit 8a4f6e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -400,6 +400,7 @@ eval(--[[language::evally]][[
```

In the python script, provide a class that handles the language via sublanguage_main:

(This is a complete example of what sublanguages can do, you can find a simpler example [below](#Example---simple-sub-language-for-table-parsing)
```python
from pico_process import SubLanguageBase, is_identifier
Expand Down Expand Up @@ -501,7 +502,7 @@ Often it's useful in pico-8 to define a simple sub-language to parse something l

To:

`{key1="val1",key2="val2","val3","val4"}
`{key1="val1",key2="val2","val3","val4"}`

Here, to minify properly, the keys (key1/key2) should be renamed as members, while the values should be left alone.

Expand Down

0 comments on commit 8a4f6e0

Please sign in to comment.