Coder Social home page Coder Social logo

jsaribeirolopes / reggie Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codewitch-honey-crisis/reggie

0.0 0.0 0.0 5.53 MB

A regular expression code generator for C#

Home Page: https://www.codeproject.com/Articles/5315958/Reggie-A-Non-Backtracking-Streaming-Regular-Expression-Code

License: MIT License

C# 65.56% Ragel 0.14% DIGITAL Command Language 0.28% TSQL 34.02%

reggie's Introduction

Reggie

Reggie is a DFA (non-backtracking) regular expression code generator for C#.

Rather than a regular expression engine, Reggie generates C# code to match text directly, based on inputted regular expressions.

It is essentially a tool to transform non-backtracking regular expressions into C# code.

The advantage of using it over .NET's intrinsic regular expression engine is that this engine will work over arbitrary forward only streams of text, exposed via IEnumerable<char> or TextReader without needing the input to be loaded into memory.

Furthermore, since it doesn't backtrack, it also performs better generally in many cases, although in certain situations Microsoft's can overtake this one. It all depends on the scenario.

Since the generated output is pure C#, these don't impact application load times.

There are several binaries in the build directory. These are necessary to support the build process, and are not used at runtime. They are safe, and may be decompiled using .NETpeek or similar if you don't trust them.

Each has a codeproject.com article over at that site. They are safe.

reggie's People

Contributors

codewitch-honey-crisis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.