From 68964c78790c0eaf847fa0491f85d73566e4985d Mon Sep 17 00:00:00 2001 From: Yasen Bonev Date: Thu, 25 Oct 2018 12:52:15 +0300 Subject: Homework 1 (#21) * Commiting .gitignore before real solution * C# project implementing very basic functionality of the lexer, needs refactoring. * Added most javascript reserved keywords * Added logic for most js operators in Tokenizer.cs * added lexemes for operator tokens also created the PrettyPrint() function * added a coloring logic to the parsed text * Refactored Lexer class, added TokenHandler class PrettyPrint colors require tweaking, Lexer needs more refactoring * created TokenHandler to pretty print text to html * Deleted project files * Updated Program.cs --- homework/81498/Project/Wizard/Text files/simpleFunction.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 homework/81498/Project/Wizard/Text files/simpleFunction.html (limited to 'homework/81498/Project/Wizard/Text files/simpleFunction.html') diff --git a/homework/81498/Project/Wizard/Text files/simpleFunction.html b/homework/81498/Project/Wizard/Text files/simpleFunction.html new file mode 100644 index 0000000..d5bf508 --- /dev/null +++ b/homework/81498/Project/Wizard/Text files/simpleFunction.html @@ -0,0 +1 @@ +function sumOfSomeNumbers ( number, secondNumber) {
    magicalThingsWithNumbersAndStrings("hello there my friend", a, b, c);
    number = 1 + 2 + 3 / 14 * (16 ** 16);
    return true || number && 3 + 13;

}
\ No newline at end of file -- cgit v1.3.1-26-gb76a