automan-lang / AutoMan

Human-Computation Runtime
https://docs.automanlang.org
GNU General Public License v2.0
48 stars 12 forks source link

Expanding a sureveyor grammar sometimes fails #36

Open dbarowy opened 1 year ago

dbarowy commented 1 year ago

The issue is that the client-side runtime expands nonterminals in the order that they appear in the generated Javascript code. Instead, nonterminals should be expanded using in topographical sort order.

(this is for AutoMan on branch yechs/experiman)