diff --git a/README.md b/README.md new file mode 100644 index 0000000..cf0673d --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ + +# Dungeoneer + +Dungeoneer is an extensible digital dice program written in C#. + diff --git a/src/Command.cs b/src/Command.cs index 5ab92d3..49123cb 100644 --- a/src/Command.cs +++ b/src/Command.cs @@ -24,17 +24,13 @@ namespace Dungeoneer { // create new parsed expression object and pretty-print var roll = Dungeoneer.Interpreter.Parser.ParseRoll(input); //var result = roll.Result; - Console.WriteLine($"{input}\n=> {roll}"); + Console.WriteLine($"{input}\n => {roll}"); } public static void New(TokenSet input) { } - public static void LexTest(TokenSet input) { - Console.WriteLine(input); - } - } } diff --git a/src/Program.cs b/src/Program.cs index d36a37d..3b14430 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -10,7 +10,6 @@ namespace Dungeoneer { public static Dictionary ReplCommands = new Dictionary { { "new", (Command)Dungeoneer.Command.New }, { "roll", (Command)Dungeoneer.Command.Roll }, -// { "lex", (Command)Dungeoneer.Command.LexTest } // TODO: "with"? };