Skip to content
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.

Releases: quiverteam/kv1-parser

v0.1.0: bare-bones API, most syntax parsing complete

21 Apr 03:18
Compare
Choose a tag to compare

This release contains a fairly complete API and AST to be accessible externally. Parsing for all basic syntax rules with the exception of blocks is supported.

Parsing

Here is a list of syntactical rules that are confirmed to be parsed correctly on v0.0.1:

Basic syntax

  • "This is a string"
  • "foo\bar\baz"

Variables and Statements

  • $Foo
  • $Foo_bar
  • $Foo-bar
  • $Include "foo"

Conditions

  • [$Foo]
  • [$Bar && $Foo]
  • [$Foo && $Bar || &Baz]
  • [$Foo && ($Bar || $Baz)]