From 89839ad499eeb3bd436a793aeadb3028568a04d3 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 10 Sep 2023 12:41:09 +0200 Subject: [PATCH] Added first part of the documentation --- docs/variable_terminals.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docs/variable_terminals.md diff --git a/docs/variable_terminals.md b/docs/variable_terminals.md new file mode 100644 index 0000000..69480b4 --- /dev/null +++ b/docs/variable_terminals.md @@ -0,0 +1,21 @@ +# Variable Terminals + +Variable terminals are pieces of data which tell the type of data a token should have +but don't explictly tell the exact content of a token. + +As an example, this could mean that a token must be alphanumeric, like a variable identifier, +but the name doesn't really matter. + +## List of Variable Terminals + +- word +- word_with_underscored +- keyword +- operator +- special +- number +- number_with_underscores +- alphanumeric +- alphanumeric_with_underscores + +TODO: More descriptive content