Skip to content

XEarthlydust/mini-lexical-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Mini C Lexical Analyzer

A mini C lexical analyzer implementation, written in Rust, for the purpose of practicing Rust Program writing and computer homework on writing compilation principles

Analyze

  • Keyword
  • Identifier
  • Delimiter
  • Operator
  • Literal
    • String
    • Char
    • Integer
      • Positive and negative signs
    • Float
      • Positive and negative signs
  • Pointer
  • Comments
    • Single-Line
    • Multi-Line

Feature

  • Use clap to build CLI

Usage

  • Show help

    cargo run -- --help
  • Analyze *.c file

    cargo run -- <FILE>

About

A mini C lexical analyzer by Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages