A fancy parse engine for JML (Jonio Markup Language) files
Fire it's a parser engine which will read JML files
JML is a new stunning markup language easier to understand and faster to read and write
The syntax is very simple. You can write the key inside square brackets and the value. For now it supports up to 5 type of objects: Strings, Int, Boolean, Tuple and Lists. The fire engine will read the file and return the objects.
[MY_NAME]"Bob".
[KEYINT]0
[LISTSAMPLE]"Alice"|"Bob"
[TUPLESAMPLE]"Alice"/0/True/
[OFFICIAL]True
To write a simple string you have to write the follow code, the name inside square brackets can be everything you want:
[MY_NAME]"Bob"
Or if you want to save a Int you have to write the follow code:
[KEYINT]0
If you want to make a list (Lists are typed, which means you cant put inside the same list strings or boolean together):
[LISTSAMPLE]"Alice"|"Bob"
And if you want to make a tuple you have to write the follow code:
[TUPLESAMPLE]"Alice"/0/True/
(Yes, boolean values need the capital letter like this):
[OFFICIAL]True
Yeah! You can actually make groups! To make groups you have to use the round brackets
(ADDRESS_GROUP)
[NAME]"Alice".
[SURNAME]"Bob"
[ADDRESS]"123 Evergreen Terrace"
[HOBBIES]"Guitar"|"Photography"
(ENDGROUP)
(ANOTHER_GROUP)
[NAME]"Alice"
[SURNAME]"Bob"
[ADDRESS]"123 Evergreen Terrace"
[HOBBIES]"Guitar"|"Photography"
(ENDGROUP)