Lexical analyzer that tokenizes code to see if it follows the rules of a certain EBNF grammar
-
Updated
Jun 23, 2022 - Java
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.
Lexical analyzer that tokenizes code to see if it follows the rules of a certain EBNF grammar
Developed a parser/lexical analyzer in java to assess string entered for a particular grammar.
This repository contains the code for the arithmetic expression interpreter written in Java with REPL support. It uses a recursive descent parsing technique and visitor pattern for evaluation.
✩ PROJET ACADEMIQUE - 2ème année de cycle ingénieur - Systèmes embarqués ☛ Objectif: Réaliser un programme d’analyse lexicale et sémantique de validation d'un fichier JSON.
Lexical Analyzer and Parser group project for our "Principles of Programming Languages" Course
The project is to create a Lexer (lexical Analysis) which is one phase of building a compiler.
| Linguagens de Programação | Andrea Aparecida Konzen | 4º | 2023/2 | 7.6 | 46514-04 | 60 |
Interpreter for a new programming language with basic features
Lexical and syntactic parser of a specific language for the Formal Language subject.
JLOX is an interpreted scripting programming language implemented by reading the book Crafting intepreters
Simple lexer and and an SLR(1) parser
Disciplina que apresenta a introdução aos processos de compilação e interpretação. Apresentação de conceitos de análise léxica, sintaxe e de semântica de linguagens, incluindo: amarração, tipos de dados, avaliação de expressões, passagem de parâmetros.
A compiler written using ANTLR with Java for the programming language LogicPL.
A Lexical-Analyzer Generator for C++ in Java
University Project where we add to write a code parser and translater from LEA (a simple basic language) to Java, with generation of intermediary code almost completely implemented in y86.
Top-down parser with built-in lexer.