Repository for code snippets and examples for Marist CMPT440 Formal Languages and Computability.
- Mod3 - Java implemenation example of a DFA that accepts binary strings divisble by 3.
- NFA - Java implementation examples of a few NFAs.
- RegEx - Java implemenation example of a regex parser.
- Scripts - Grep and lex example shell scripts.
- TM - Java implementation of a Turing machine example that accepts of a^nb^nc^n.
Code examples based on code examples from Formal Language: A practical introduction written by Adams Brooks Webber, published by Franklin, Beedle & Associates Inc. in 2011.