Showing 61 open source projects for "lexer"

View related business solutions
  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Start Free
  • Veeam Data Platform v13.1 - Get Your Free Trial Icon
    Veeam Data Platform v13.1 - Get Your Free Trial

    Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

    Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
    Try it Free
  • 1
    9cc C compiler

    9cc C compiler

    A Small C Compiler

    9cc is a small and educational C compiler designed to demonstrate the internal workings of a compiler while still being capable of compiling meaningful programs. It serves as a continuation of Rui Ueyama’s series of compiler projects, focusing on clarity and incremental development rather than production-level optimization. The compiler implements essential stages such as lexical analysis, parsing, semantic analysis, and code generation, providing a complete pipeline from source code to...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 2
    Koopa (COBOL) Parser Generator
    This project has moved to GitHub ! The version here at SourceForge will remain for historic purpose. Koopa is a parser generator, made for COBOL. It can handle source files in isolation (no preprocessing required) and doesn't mind the presence of CICS/SQL fragments. The grammar is easily extensible in a way which minimizes the impact on the overall code.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    Kaleidoscope

    Kaleidoscope

    Haskell LLVM JIT Compiler Tutorial

    This repository is a Haskell port of the classic LLVM “Kaleidoscope” tutorial that walks you through building a tiny programming language from scratch. It covers the complete pipeline: tokenizing and parsing a simple, expression-oriented language, constructing an AST, and generating LLVM IR with a JIT so you can execute code interactively. Along the way it adds language features like user-defined functions, conditionals, loops, and operator precedence, demonstrating how each addition impacts...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4

    lexamples

    External lexer package for Notepad++

    Improved lexer for Makefiles. Improved lexer for MIB/ASN.1 files.
    Leader badge
    Downloads: 27 This Week
    Last Update:
    See Project
  • Earn up to 16% annual interest with Nexo. Icon
    Earn up to 16% annual interest with Nexo.

    Access competitive interest rates on your digital assets.

    Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
    Get started with Nexo.
  • 5

    NaiveLanguageTools

    C# lexer and parser

    NLT is free, open-source C# lexer and GLR parser suite -- which translates to ability to parse ambiguous grammars. Grammar can be defined directly in code or (preferably) in separate file (lex/yacc-like) for included generator. If you understand/guess the meaning of grammar in C#: // scanning lexer.AddStringRule(")", match => SymbolEnum.RPAREN); // parsing prod_builder.AddProduction(SymbolEnum.exp, SymbolEnum.LPAREN, SymbolEnum.exp, SymbolEnum.RPAREN, (_1, e, _3) => (AstNode)e); or grammar in NLT format: // scanning /[A-Za-z_][A-Za-z_0-9]*/ -> IDENTIFIER, IdentifierSymbol.Create($text); // parsing program -> list:namespace_list { new Program(currCoords(), (Namespaces)list) }; you should be able to use it :-). ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    IntelliJ plugin for Haskell

    IntelliJ plugin for Haskell

    IntelliJ plugin for Haskell

    When I was learning Haskell, I missed the nice features of IntelliJ IDEA. My first approach was to use the default way of creating an IntelliJ plugin by defining a grammar and a lexer according to Haskell report. That didn't work out because I could not define all the recursion. Then I decided to use grammar and lexer definitions only for tokenizing and parsing Haskell code, and not for syntax checking the code. This is needed for syntax highlighting, all kinds of navigation, and so on. Further Haskell language support is provided with the help of external tools. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    Chevrotain

    Chevrotain

    Parser Building Toolkit for JavaScript

    Chevrotain is a powerful and fast parser-building toolkit for JavaScript. It supports the construction of LL(k) parsers and is suitable for building interpreters, compilers, and DSLs.​
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    Velocity Editor Plugin

    Velocity Editor Plugin

    VTL (Velocity Template Language) edit support for the NetBeans IDE.

    Provides basic support to Velocity's *.vm and *.vsl files. Syntax coloring, basic error highlighting and braces matching is achieved with a lexer and parser based on Apache Velocity's 1.6.2 specification and compiled with JavaCC 5.0.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    JFlex

    JFlex

    The fast lexer generator for Java

    JFlex is a flex-like lexer generator for Java with emphasis on speed and full Unicode support. It has some not so usual features like negation in regexps and nested input streams. Also reads JLex specifications unchanged.
    Leader badge
    Downloads: 341 This Week
    Last Update:
    See Project
  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    Start Free
  • 10
    Coco/S Parser Generator

    Coco/S Parser Generator

    Parser Generator based on Coco/R

    Coco/S is a compiler generator that takes plain EBNF grammar files and features a SAX style call back API. It is written in Java and produces a Java Scanner (Lexer) and Parser for the language described by the input grammar. Coco/S is a branch of the 2010/11 release of Coco/R for Java. While Coco/R takes an attributed grammar file, Coco/S has a callback API. This has the advantage of a clean separation between grammar (EBNF) and Compiler/Interpreter.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    PHParser

    PHParser

    A Lexer and a Parser to PHP scripts

    PHParser 1.2 generates a pure Java parser for PHP programs. Invoking this parser yields an explicit parse tree (AST) and a tree walker suitable for further analysis. This tool package is based upon: - ANTLR 3.2 or higher (www.antlr.org). - JDK 1.6 or higher (java.sun.com). - Grammar specifications of PHP 5.3.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12

    Automaton Lexer

    A Java library for creating DFA-powered lexical analyzers

    ...I have not given much thought to whether it would even make sense to preserve the 'info' field through some of the other operations. This project also includes an extension of RunAutomaton, called TokenAutomaton, that can be used as a lexer, as well as its support classes and examples of its use. Lexers generated by JPlex depend on this library. I separated it from JPlex so that projects using JPlex would not depend on GPL code. Revision 1 of this project is dual-licensed, as it is the same code that was formerly part of JPlex. All code in this library was either originally published under the BSD license or was exclusively authored by me.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13

    JPlex

    Java lexical analyzer generator

    ...Their state machines are precompiled and serialized, so run time initialization is fast no matter how large the rule set. JPlex is not a parser generator; it only generates an interface for its parsers, and it does not build a parse tree. When the lexer identifies a token that has a named event associated with it, it passes the token to the parser method associated with that event. A lexer can dispatch token events to any number of parsers. JPlex is steadily being improved, and the Subversion repo will almost always be newer and better than the binary download.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14

    StringSplitter

    StringSplitter is Java library to break large file content into tokens

    StringSplitter Java library can be used to get token from large strings based on some separator also it can be used to create lexer in Parser. As of now it is used in SqlSplitter library.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    cparser is a library containing a parser, lexer and semantic analysis for the ISO C99 language. It should be used as a compiler frontend, a base for source-source transformation, or source-checker tools.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 16
    fortparser is a Fortran parsing kit. It is intended to be used as a starting point for Fortran parsers. It contains a working parser and lexer which generate no output, but, of course, can be modified for any purpose.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Efficient html lexer written in javascript without regular expressions
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    KFlex is an extension to JFlex that makes it easy to generate lexers whose actions call methods of a listener interface. This simplifies parser development and makes the lexer a reusable drop-in component.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    Simple lexical analyzer for ANSI C (C-88-090) language.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    fntrace
    fntrace is a powerfull shell used for hack and automate many hardless tasks. It permite to manipulate easily binary files like elf and some else. It based on modules for extending functionalities; you can write it on perl python or C.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    Um simples analizador léxico para a disciplina de Linguagens Formais e Autômatos, IESB. Este analiza uma palavra que deva obedecer ao alfabeto ∑ = {ε, [a..z], [A..Z]}, gerando em suas palavras prefixos, sufixos e subpalavras.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    Simple header-only library written in C++, for lexical analysis of files in PDF format
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Java Cobol Lexer take a cobol source program and return it as a list of lexical tokens. Library takes source code in fixed, free and mixed formats. It recognizes standard Cobol 85.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    QPG is a lexer and parser generator tailored for modern C++. The syntax of its grammer is designed to be more flexible and easily read than those of traditional tools like flex and bison. It's build on Qt4 but can produce output independent of it.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    pyJacc
    PyJacc (Python's Just Another Compiler Compiler) is an open source lexer and parser (similar to lex and yacc). PyJacc provides the ability to create powerful lexing and parsing libraries in high level languages such as Python, PHP, and C#.
    Downloads: 0 This Week
    Last Update:
    See Project