Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 313 Bytes
(ns parsatron.languages.bf
(:use [the.parsatron]))
(defparser instruction []
(choice (char \>)
(char \<)
(char \+)
(char \-)
(char \.)
(char \,)
(between (char \[) (char \]) (many (instruction)))))
(defparser bf []
(many (instruction))
(eof))
Something went wrong with that request. Please try again.