DFA regular expression library & friends
-
Updated
Jul 6, 2024 - C
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
DFA regular expression library & friends
Learn how to convert human readable text into machine readable data using the StringTokenizer and StreamTokenizer classes
Construção do Trabalho prático da disciplina de Compiladores (1/2024)
Java program serves as a lexical analyzer that validates a specific pattern within a given string. The validation is done based on predefined rules, and it checks if the input string conforms to a certain structure
Explore compiler design basics with Phases of Compiler, a project demonstrating lexical and syntax analysis in C++.
《编译原理》课程设计,基于有穷自动机的类 C 语言词法分析器
jaba is a programming language built using golang. The language source code is transformed into tokens through lexical analysis and then tokens are transformed to an Abstract Syntax Tree using a parser. Evaluation is done to give the AST meaning and returns the respective result of the source code
Toy JVM compiler written in Java
Development of a mini-compiler in C using FLEX and Bison for lexical and syntax-semantic analysis, with symbol table management, error handling, and generation of intermediate and object code.
⚡🌐⚡ Tokenizer subproject for GraPHPinator: GraphQL server implementation for PHP.
An experimental, purely functional language built in Rust using QBE as its backend
front end to greek and latin corpora: searching, browsing, concordances, texts, dictionaries, parsing
Implementación de análisis léxico usando automatas
A programming language for non-programmers with Syntax similar to spoken English. Created by Kuku
Compiler for "Shenva" language, made for magshimim final project
Interpreter for a new programming language with basic features
This is a compiler project developed during my college coursework. It includes lexical analysis, syntax analysis, semantic analysis, intermediate code generation, optimization, and code generation stages. The goal is to translate high-level language source code into target machine code.
⛩️ A scripting language
An OCaml-based lexical analyzer that identifies and classifies tokens such as identifiers, operators, punctuation symbols, integer literals, and keywords. The project involves tokenizing input text, categorizing tokens, and printing them with their respective categories. Key functions include tokenize, is_alnum, is_punctuation, and print_tokens.
Compiler for custom language by Egemen