amirhakimnejad / Scanner-for-lexical-analyzer-in-cpp
A simple c++ program that takes a file as input, and after tokenizing the file, it finds what each token name is(identifier, keyword, separator, operator, literal, or comment).
☆21Updated 3 years ago
Related projects: ⓘ
- A C compiler written in C☆84Updated last year
- This is a repository of coursework project for the Stanford Compilers MOOC course. The result is a fully-working compiler for the COOL Pr…☆49Updated 2 years ago
- My solutions to the programming assignments of the Stanford Compiler course.☆345Updated 9 years ago
- c compiler based on flex(lex), bison(yacc) and LLVM, supports LLVM IR and obj code generation. 基于flex,bison以及LLVM,使用c++11实现的类C语法编译器, 支持生成…☆239Updated 7 years ago
- A C compiler created for the how to create a C Compiler online course☆74Updated 11 months ago
- Code for the YouTube tutorials on Flex and Bison☆109Updated 2 years ago
- LLVM Tutorial: Kaleidoscope (Implementing a Language with LLVM)☆236Updated last year
- ☆67Updated this week
- LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))☆63Updated last year
- An interactive c++ program to construct NFA, DFA, and minimized DFA from a given regular expression.☆98Updated 3 years ago
- 编译原理 C语言编译器(包括词法/语法/语义分析器等)☆226Updated 7 years ago
- Stanford CS1/CS143 Compilers Course Project - Cool compiler☆126Updated 5 years ago
- 简化的c语言(SysY)编译器☆32Updated 2 years ago
- Code for EI338 Operating System in SJTU. (Programming Projects of Operating System Concepts, 10th Edition)☆88Updated last year
- c语言编译器,用 lex 和 yacc 工具完成词法分析与语法分析并生成语法树,C++实现了语 法树的解析并生成中间代码,生成中间代码的过程中实现了错误检测。C++实 现了中间代码的优化操作。之后利用 python 对中间代码进行处理并生成 mips 汇编码并且可以成功在 …☆179Updated 6 years ago
- NFA to DFA Conversion Implementation in C++.☆23Updated 2 years ago
- Implementing a complete Compiler for a simple C-like language using the C-tools Flex and Bison☆173Updated last year
- My Toy Compiler. Read about how I did it at the homepage URL☆843Updated 5 months ago
- Toy programming language using LLVM, flex and bison.☆90Updated last year
- 'Operating System Concepts' - Solutions to exercises and projects☆124Updated 7 years ago
- Playing Dots and Boxes in Python against AI using min-max and alpha-beta pruning☆13Updated 5 years ago
- Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers. 编译原理(紫龙书)第2版习题答案。☆65Updated 2 years ago
- 64 bit nasm code examples☆54Updated 4 years ago
- Interpreter for the Declaration Section of a C program☆44Updated 5 years ago
- A compiler that accepts any valid program written in C. It is made using Lex and Yacc. Returns a symbol table, parse tree, annotated synt…☆111Updated last year
- An implementation of *jlox* from Crafting Interpreters in C++.☆38Updated last year
- Example code for compilers textbook.☆167Updated last year
- ☆54Updated 3 years ago
- 编译原理实验,实现C--文法编译器☆7Updated 7 years ago
- LLVM (Low Level Virtual Machine) Guide. Learn all about the compiler infrastructure, which is designed for compile-time, link-time, run-t…☆137Updated 8 months ago