C Lexer

Open-source C projects categorized as Lexer

Top 11 C Lexer Projects

  1. flex

    The Fast Lexical Analyzer - scanner generator for lexing in C and C++ (by westes)

    Project mention: Building Zerocalc, part I - rustc lexer and a lexer in rust | dev.to | 2024-06-01

    In this post, we will focus on tokenization. There are many ways to do tokenization, including using regular expressions or generating tokenizer code with generators such as flex. But what if we check how rustc's parser does it?

  2. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  3. libfsm

    DFA regular expression library & friends

    Project mention: Wc2: Investigates optimizing 'wc', the Unix word count program | news.ycombinator.com | 2024-06-20
  4. Melang

    A script language of time-sharing scheduling coroutine in single thread

  5. gherkin

    A parser and compiler for the Gherkin language. (by cucumber)

  6. ocean

    Programming language that compiles into a x86 ELF executable.

  7. pl0c

    Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.

  8. stutter

    Implement a Lisp, in C, from scratch, no libs (by mkirchner)

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. ravi-compiler

    Parser and compiler for Ravi and Lua

  11. psh

    psh, a small and minimal shell. public domain 💘 (by proh14)

    Project mention: Psh, A small and minimal shell. public domain:) | news.ycombinator.com | 2025-01-14
  12. KAI

    KAI is a distributed computing model written in modern C++ and is cross-plaftorm. Using custom language translators and an executor, KAI provides full reflection, persistence and cross-process communications without having to modify existing source code. KAI Comes with an automated, generational tricolor garbage collector, and Console- and Window-based interfaces.

  13. cmdcalc

    A simple command line calculator

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Lexer discussion

Log in or Post with

C Lexer related posts

  • How to provide input file for Flex++?

    1 project | /r/Compilers | 5 Sep 2023
  • clex is now thread-safe and instance-based, a lexer generator for C

    3 projects | /r/C_Programming | 5 Apr 2023
  • Show HN: Clex is now thread-safe and instance-based A lexer generator for C

    2 projects | news.ycombinator.com | 5 Apr 2023
  • Do Regular Expressions only evaluate one line at a time?

    1 project | /r/perl | 5 Dec 2022
  • GitHub - jafarlihi/cparse: cparse is a simple LR(1) parser generator for C

    2 projects | /r/C_Programming | 15 Nov 2022
  • GitHub - jafarlihi/clex: clex is a simple lexer generator for C

    1 project | /r/cprogramming | 8 Nov 2022
  • GitHub - jafarlihi/clex: clex is a simple lexer generator for C

    1 project | /r/opensource | 5 Nov 2022
  • A note from our sponsor - Nutrient
    www.nutrient.io | 16 Feb 2025
    Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries. Learn more →

Index

What are some of the best open-source Lexer projects in C? This list will help you:

# Project Stars
1 flex 3,698
2 libfsm 949
3 Melang 406
4 gherkin 206
5 ocean 170
6 pl0c 138
7 stutter 79
8 ravi-compiler 68
9 psh 60
10 KAI 14
11 cmdcalc 0

Sponsored
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io

Did you know that C is
the 6th most popular programming language
based on number of references?