Skip to content

Feat/new compiler #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
e861888
fix: 3 char issue
shreyas-londhe Feb 20, 2025
02150d4
feat: v2 fresh start
shreyas-londhe Mar 3, 2025
6ec7675
feat: remove epsilon states (wip)
shreyas-londhe Mar 4, 2025
e309004
fix: epsilon-nfa -> nfa
shreyas-londhe Mar 13, 2025
6667e88
feat: circom codegen
shreyas-londhe Mar 18, 2025
7613e48
fix: conditional capture group logic
shreyas-londhe Mar 18, 2025
a61a224
feat: added substring extraction logic
shreyas-londhe Mar 19, 2025
09c7cd8
feat: basic case working
shreyas-londhe Mar 19, 2025
499db3e
noir compiler for regex matching (no substring capture
jp4g Mar 20, 2025
f45751c
feat: basic compiler functions (untested)
shreyas-londhe Mar 27, 2025
f755d92
update to work with bin and new compiler
jp4g Mar 27, 2025
9bb586f
split functionality, add packed capture group data to lut
jp4g Mar 27, 2025
2901ec1
fix: capture group logic
shreyas-londhe Mar 28, 2025
7930a41
feat: added function to generate inputs for circuit
shreyas-londhe Mar 28, 2025
20d465a
feat: basic e2e working
shreyas-londhe Mar 31, 2025
8a24437
feat: added wasm functions
shreyas-londhe Mar 31, 2025
2121a41
feat: minor changes
shreyas-londhe Apr 2, 2025
20ee1d3
feat: added sample circom circuits
shreyas-londhe Apr 2, 2025
d9d839b
merge
jp4g Apr 9, 2025
0738447
input gen works for non-capture
jp4g Apr 9, 2025
7f7a6e9
feat: improve epsilon removal
shreyas-londhe Apr 11, 2025
e39ea6c
optimized substring capture single case
jp4g Apr 12, 2025
90c2027
common utilities moved to common
jp4g Apr 12, 2025
5e1d6cb
codegen for capture groups
jp4g Apr 14, 2025
29ab2b6
codegen works with non-captures and captures
jp4g Apr 14, 2025
0735934
constrain capture start end masks
jp4g Apr 14, 2025
49573cf
fix: epsilon removal
shreyas-londhe Apr 15, 2025
3983096
Merge branch 'feat/new-compiler' into feat/new-compiler-noir
jp4g Apr 16, 2025
c7cc953
updated regex compiler
jp4g Apr 16, 2025
65dc44c
feat: modified wasm functions
shreyas-londhe Apr 17, 2025
209766d
feat: improved error handling
shreyas-londhe Apr 17, 2025
71143b0
feat: tests for body_hash regex
shreyas-londhe Apr 17, 2025
fd59f9c
constrain packed value decomposition
jp4g Apr 18, 2025
da02954
check_accept_state now ensures that traversal path length is equal to…
jp4g Apr 19, 2025
8318a35
remove unused is_capture_start/ is_capture_end in capture_substring
jp4g Apr 19, 2025
1d7f2ab
build_is_capture will now constrain is_capture to be 1
jp4g Apr 19, 2025
81e83e2
add check that substring_from_mask start index = 1 and start index - …
jp4g Apr 19, 2025
88caab5
also add check to end index mask in build_substring
jp4g Apr 19, 2025
3767f9a
revamp directory structure
jp4g Apr 19, 2025
bd9a43c
merge
jp4g Apr 19, 2025
7f34356
add new templates
jp4g Apr 19, 2025
8464c8b
add max_match_length functionality
jp4g Apr 19, 2025
41fcdc2
add separate noir inputs + hook up to wasm
jp4g Apr 19, 2025
0ee3f10
some comments
jp4g Apr 19, 2025
d3203fa
Merge pull request #91 from zkemail/feat/new-compiler-noir
shreyas-londhe Apr 23, 2025
aa3be01
feat: refactor and writing apis
shreyas-londhe Apr 23, 2025
f37bad1
Update Cargo.toml
Bisht13 Apr 24, 2025
f076a61
Update Cargo.toml
Bisht13 Apr 24, 2025
34246b0
Update Cargo.toml
Bisht13 Apr 24, 2025
5d1c7a8
feat: minor changes
shreyas-londhe Apr 24, 2025
cc91720
fix: remove custom name for noir regex matcher
shreyas-londhe Apr 25, 2025
ebc6a2f
feat: added detailed readme for compiler
shreyas-londhe Apr 28, 2025
54b1884
chore: minor changes
shreyas-londhe May 2, 2025
3cb1fa9
chore: minor changes
shreyas-londhe May 6, 2025
66961ed
fix: invalid __select_subarray
shreyas-londhe May 7, 2025
ac31879
fix: invalid capture group index
shreyas-londhe May 7, 2025
a7b45f7
fix: minor change
shreyas-londhe May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
4 changes: 0 additions & 4 deletions .cargo/config

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

26 changes: 0 additions & 26 deletions .eslintrc.json

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/test.yaml

This file was deleted.

118 changes: 6 additions & 112 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,114 +1,8 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

.vscode
build/*
!build/.placeholder

nfa.json
target
/compiler/pkg
/compiler/.yarn

Cargo.lock

.DS_Store
packages/*/build

package-lock.json
yarn.lock

index.node
Prover.toml
prover.toml
inputs.txt
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

Loading