Skip to content

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Splexer

Simple lexer for C-style languages, written in C.

Warning

This lexer is not suitable for use (yet)! Please only use for recreational purposes only.

Goal

The goal for this project is to write a simple but effective tokenizer that can be implemented to parse various C-style languages, with the eventual adoption into the implementation of Glare programming language compiler.

Building

Build Dependencies

  • Clang
  • lld
  • mingw-w64-gcc (for Windows builds)

Build Instructions

To build, simply run:

make

If you would like to build Windows DLLs for whatever reason:

make WINDOWS=y

References

B compiler by Tsoding, motivation

stb_c_lexer.h by Sean Barrett, inspiration

Alexer by Tsoding, inspiration

LICENSE

This project is licensed under the MIT License.

About

Simple lexer for C-style languages, written in C.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages