Skip to content

Instantly share code, notes, and snippets.

name: binary increment
source code: |+
input: 'abba'
blank: ' '
start state: q0
table:
ERROR_TOO_MANY_B:
ERROR_NOT_ENOUGH_A:
ERROR_A_B_COUNT:
ERROR_NB_A_PAS_PAIR: