module Bindy grammar Language rule expression function / value end rule function identifier:identifier space* '(' space* arg_list:arg_list space* ')' end rule arg_list expression space* ',' space* arg_list / expression end rule identifier [a-z\_]+ end rule value number / boolean / string end rule string [\da-zA-ZáéíóúüñÁÉÍÓÚÜÑ¿?!¡\s\@\#\$\%\&\/\\\*\_\-\+\/\\\*\_\-\+\.\,\:\;\<\>\|\"\']+ end rule number float / integer end rule integer [\+\-]? [\d]+ end rule float [\+\-]? [\d]+ '.' [\d]+ end rule boolean true / false end rule true 'true' end rule false 'false' end rule space [\s\t\n] end end end