commit 2e68f7df509ce176e4fe7518161553cf99934b14 parent c5a90ca605af0ba1184aa3fe2899168e09438675 Author: Mohammad-Reza Nabipoor <m.nabipoor@yahoo.com> Date: Thu, 6 Aug 2020 08:21:50 +0430 Add README.md Diffstat:
| A | README.md | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -0,0 +1,14 @@ + +# LLVM journey + +My journey through +"[My First Language Frontend with LLVM Tutorial](https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html)". + +## Chapter 1: Kaleidoscope language and Lexer + +- **Implementation** `kaleidoscope_lexer.hpp` +- **Test** `tests/kaleidoscope_lexer.test.cpp` + +The lexer has been implemented as a STL-like algorithm. It accepts a pair of +`ForwardIterator`s and a function object; for each token, the function object +will be called as follow: `funcobj(kal::TkToken, FwdIt tkBegin, FwdIt tkEnd)`.