# encoding: UTF-8 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 / space* end rule identifier [a-z0-9\_]+ end rule value number / boolean / string / null end rule string "'" value:[\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 null 'null' end rule space [\s\t\n] end end end