Giter Site home page Giter Site logo

regex's Introduction

正規表現エンジンを実装する

メモ

今回実装すること

  • 正規表現を構文解析してASTを生成
  • ASTからNFAを構築
    • Thompsonの構築法
  • NFAをDFAに変換
    • Subset Construction法
  • DFAを最適化
    • on-the-fly構成法
    • Hopcroftの最適化法

今回文章に書くこと

  • 正規表現とは 1ページ
  • 正規表現の実装について 1ページ
  • 数学的な説明 7ページ
  • Thompsonの構築法 5ページ
  • Subset Construction法 5ページ
  • on-the-fly構成法 2ページ
  • Hopcroftの最適化法 2ページ
  • ReDoSについて 2ページ

参考にしたファイル /home/naga/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.29/src/ast/parse.rs /home/naga/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.29/src/ast/mod.rs /home/naga/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-automata-0.1.10/src/nfa/compiler.rs /home/naga/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-automata-0.1.10/src/nfa/mod.rs

regex's People

Contributors

neccolini avatar

Watchers

 avatar

regex's Issues

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.