From 93cd8cac8a616ae13bd42dcbee0bb9da278eb49d Mon Sep 17 00:00:00 2001 From: Ralitsa Velikova Date: Wed, 7 Nov 2018 14:26:16 +0200 Subject: Solution to first homework (#25) * Add token types enum for Lexer * Local test if I've correctly switched from https to ssh * Adds initial Lexer logic; Reuses JSImpl's Lexer logic; Still needs refactoring; * Adds README.md * Adds README.md * Adds tokenization of strings and a few operators * Adds some operators * Adds highlighter and sample for future testing * Adds runes & fixes double whitespace bug * API fix, premake, solution * Update README.md * Delete HL.sln * Delete HL.vcxproj --- homework/81013/go2html/Highlighter.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 homework/81013/go2html/Highlighter.h (limited to 'homework/81013/go2html/Highlighter.h') diff --git a/homework/81013/go2html/Highlighter.h b/homework/81013/go2html/Highlighter.h new file mode 100644 index 0000000..a40f5d0 --- /dev/null +++ b/homework/81013/go2html/Highlighter.h @@ -0,0 +1,8 @@ +#pragma once + +#include + +#include "CommonTypes.h" +#include "Lexer.h" + +IPLResult Highlight(std::ifstream& in, std::ofstream& out); -- cgit v1.3.1-26-gb76a