From 7bda9de511a5642efb297eae98c6ea7c42b27754 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Wed, 25 Oct 2017 12:10:14 -0300 Subject: Start switch to maven modules --- dice-lang/lang-impl.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 dice-lang/lang-impl.md (limited to 'dice-lang/lang-impl.md') diff --git a/dice-lang/lang-impl.md b/dice-lang/lang-impl.md deleted file mode 100644 index c6c2ce2..0000000 --- a/dice-lang/lang-impl.md +++ /dev/null @@ -1,23 +0,0 @@ -# Language implementation details -First, a command is read from the user, and -checked to see if it has any interpreter pragmas -in it. If so, the interpreter pragma is handled -and we move onto the next command. - -Next, the command is prepared for parsing. -This involves 4 steps -1. Convert the command into tokens -2. Split operators from tokens. This means - converting tokens like 2+2 into the three tokens - 2, + and 2 -3. Deaffix tokens. This means deattaching brackets - and parenthesis from their attached tokens. -4. Remove blank tokens - -Next, is parsing. This is just a modified version -of the shunting-yard algorithm, with the -main modification being it properly handles -multiple nesting levels of parenthesis - -Then, the AST is created from the parsed -string. \ No newline at end of file -- cgit v1.2.3