Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

L3odr0id/SLY_s-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

SLY s-expressions parser

There is very little information and guides on how to write parsers with SLY (https://sly.readthedocs.io/en/latest/sly.html) on the Internet, so I hope this project will help you. This program parses my custom syntax S-expressions (https://en.wikipedia.org/wiki/S-expression).

EBNF of the syntax that this parser reads:

:: = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "-" | "_"
::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
::= | | |
::= "("
::= ")"
::= |
::=
::=

About

EBNF python parser with SLY example

Topics

Resources

Readme

Stars

Watchers

Forks

Contributors

Languages