Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Integrate Glushkov NFA engine into lck-grep CLI utility

オープン
#11 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
領域
cli, compilers

調査の方向性

cli/Lck.Grep.lean、Lck/Regex.lean、および Lck/Regex/Glushkov/ 配下の Glushkov エンジンから始めます。Glushkov.build を公開し、Thompson NFA の呼び出しを置き換え、test/ にある既存の例またはテストを実行して grep の動作を比較します。CLI が検証済みのエンジンを使用し、形式的に検証されたプロパティが文書化されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Summary

The cli/Lck.Grep.lean CLI utility currently has a hardcoded Thompson NFA implementation for proof-of-concept. We now have a verified Glushkov NFA engine with formal correctness proofs.

Goal

Replace the Thompson PoC with the verified Glushkov engine:

  • Use Glushkov.build to compile regexes to NFAs
  • Verify that the Glushkov engine produces equivalent results
  • Validate against existing test cases in cli/

Implementation steps

  1. Expose Glushkov.build in Lck/Regex.lean
  2. Replace Thompson NFA calls with Glushkov.build
  3. Run existing grep tests to confirm behavior equivalence
  4. Document which properties are now formally verified

Related

  • Glushkov NFA file: Lck/Regex/Glushkov/
  • CLI entry point: cli/Lck.Grep.lean
  • Test suite: (existing example usage in test/)
主要言語
Lean
スター
2
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lambdaclass/lambda_compiler_kit のほかの issue

lambdaclass/lambda_compiler_kit の issue をすべて見る

似ている issue

CLI の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。