Skip to content
forked from fhur/automata

Implementation of regular expressions, DFAs and NFAs for learning purposes

License

Notifications You must be signed in to change notification settings

enterstudio/automata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automata

A clojure library that implements regular expressions using the classic to NFA to DFA approach.

This library is meant for learning purposes only, do not use in production.

Usage

Import using (use automata.core)

You can define regular expressions using the regex-nfa and regex macros.

Example:

(regex-nfa | "0" (* "1") "0")
;; matches strings that start with 0, end with 0 and have 0 or more "1"s in between

License

Copyright © 2015 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Implementation of regular expressions, DFAs and NFAs for learning purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%