8000 GitHub - darthsteedious/lexer: A very simple Lexer written in Rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

darthsteedious/lexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lexer

A very simple Lexer written in Rust

This can parse very simple expressions like the following:

if (i == j)
    z = 1234;
else
    z = 4321;

if (i == 1)
  x = foo();
else if (i == 5)
  x = bar();

Usage

To test from command line: cargo run from within the project directory

Here's new text!

About

A very simple Lexer written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0