CSML-by-Clevy / csml-engine

CSML is an easy-to-use chatbot programming language and framework.

Home Page:https://csml.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't name a parameter with a reserved word

frsechet opened this issue · comments

Describe the bug
say Text("something", step=12) is invalid

Expected behavior
I would expect to be able to name my component parameters however I want, without conflicting with the CSML syntax in general.

Additional context
In the new CSML Studio Input() component, for the number type, we would like to have a step parameter, which is a standard HTML attribute: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#additional_attributes