When adding the 'nodead arg in for a pda the following error is returned. After looking at the the code for make-ndpdanodead should be allowed to be passed as a additional arg. However the code for make-unchecked-ndpda does not take in account the extra arg.
Returned Error:
/fsm-core/interface.rkt:420:13: make-unchecked-ndpda: arity mismatch;
the expected number of arguments does not match the given number
expected: 6
given: 7
Steps to reproduce
run the below machine
#lang fsm
;; pda=2ba
(make-ndpda '(S M1 F)
'(a b)
'(a b)
'S
'(F)
`(((S ,EMP ,EMP) (M1 ,EMP))
((M1 a ,EMP) (M1 (a a)))
((M1 b ,EMP) (M1 (b)))
((M1 a (b)) (M1 (a)))
((M1 a (b b)) (M1 ,EMP))
((M1 b (a)) (M1 ,EMP))
((M1 ,EMP ,EMP) (F ,EMP)))
'nodead)
Describe the bug
When adding the
'nodead
arg in for a pda the following error is returned. After looking at the the code for make-ndpdanodead
should be allowed to be passed as a additional arg. However the code for make-unchecked-ndpda does not take in account the extra arg.Returned Error:
Steps to reproduce