https://github.com/marcosspessatto/lexical-analyzer-java
https://github.com/marcosspessatto/lexical-analyzer-java
automaton java lexical-analysis
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcosspessatto/lexical-analyzer-java
- Owner: MarcosSpessatto
- Created: 2016-08-20T02:39:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-28T02:10:53.000Z (over 9 years ago)
- Last Synced: 2024-12-29T18:16:31.010Z (about 1 year ago)
- Topics: automaton, java, lexical-analysis
- Language: Java
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lexical-Analyzer-Java
Implementation of a lexical analyzer in java without RegEx,for academic purposes of discipline compilers
Automaton to recognize languages whose tokens are:
- Handles formed by an underscore and may then have one or more numbers or letters
- Numeric constant formed by one or more integers (99)
- Numeric constants consist of real numbers (99.99, for example)
- Identifiers and commentaries in C (/ * comment with blank spaces * /)
- Reserved words int ,float ,real ,double ,char ,boolean