Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qu1etboy/regex-to-nfa
Group Assignment for 01418334(66-2) Compiler Techniques
https://github.com/qu1etboy/regex-to-nfa
frontend nextjs nfa regex-to-nfa regular-expression typescript
Last synced: 5 days ago
JSON representation
Group Assignment for 01418334(66-2) Compiler Techniques
- Host: GitHub
- URL: https://github.com/qu1etboy/regex-to-nfa
- Owner: Qu1etboy
- Created: 2024-01-31T16:07:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-31T21:02:54.000Z (about 1 year ago)
- Last Synced: 2024-12-02T07:44:51.085Z (2 months ago)
- Topics: frontend, nextjs, nfa, regex-to-nfa, regular-expression, typescript
- Language: TypeScript
- Homepage: https://regex-to-nfa.qu1etboy.dev
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Regular Expression to NFA Converter
Project for 01418334(66-2) Compiler Techniques
## Backend
Using Python and Flask to handle logic for converting regular expression to NFA using [McNaughton-Yamada-Thompson algorithm](), deployed on Glitch.
- Source code: https://glitch.com/edit/#!/pacific-keen-variraptor
- Live site: https://pacific-keen-variraptor.glitch.me/**Usage**
Try to send a GET request to the API with `regex` query parameter.
```sh
curl 'https://pacific-keen-variraptor.glitch.me/nfa?regex=a|b'
```## Frontend
Display NFA from API response as a graph using [viz.js](https://viz-js.com/),
deployed on Vercel.- Live site: https://regex-to-nfa.qu1etboy.dev/
## Members
- 6410406649 Thanrada SONNAKHONGCHAROEN
- 6410406711 Napatsorn LAOPITAKKUL
- 6410406860 Weerawong VONGGATUNYU