removed lexer test function

This commit is contained in:
Valerie Wolfe 2024-04-03 12:14:51 -04:00
parent 7e03710779
commit 2349fb743f
3 changed files with 6 additions and 6 deletions

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# Dungeoneer
Dungeoneer is an extensible digital dice program written in C#.

View file

@ -24,17 +24,13 @@ namespace Dungeoneer {
// create new parsed expression object and pretty-print // create new parsed expression object and pretty-print
var roll = Dungeoneer.Interpreter.Parser.ParseRoll(input); var roll = Dungeoneer.Interpreter.Parser.ParseRoll(input);
//var result = roll.Result; //var result = roll.Result;
Console.WriteLine($"{input}\n=> {roll}"); Console.WriteLine($"{input}\n => {roll}");
} }
public static void New(TokenSet input) { public static void New(TokenSet input) {
} }
public static void LexTest(TokenSet input) {
Console.WriteLine(input);
}
} }
} }

View file

@ -10,7 +10,6 @@ namespace Dungeoneer {
public static Dictionary<string, Command> ReplCommands = new Dictionary<string, Command> { public static Dictionary<string, Command> ReplCommands = new Dictionary<string, Command> {
{ "new", (Command)Dungeoneer.Command.New }, { "new", (Command)Dungeoneer.Command.New },
{ "roll", (Command)Dungeoneer.Command.Roll }, { "roll", (Command)Dungeoneer.Command.Roll },
// { "lex", (Command)Dungeoneer.Command.LexTest }
// TODO: "with"? // TODO: "with"?
}; };