You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eventually we'll end up with custom built-ins or upstream built-ins to work with data from from specific, well-known projects. Either way, we should have a way of namespacing them for clarity and to avoid conflicts.
Today, built-ins are all of the form <name: var>(<op1: term>, <op2: term>, ...). We could namespace built-ins as follows: <name: ref>(<op1: term>, <op2: term>, ...). E.g., my.special.builtin.func("foo").
The text was updated successfully, but these errors were encountered:
This change updates the grammar so that built-in names can contain
periods ("."). This allows built-in names to be namespaced which will be
important down the road once people start adding custom built-ins.
Fixesopen-policy-agent#314
Eventually we'll end up with custom built-ins or upstream built-ins to work with data from from specific, well-known projects. Either way, we should have a way of namespacing them for clarity and to avoid conflicts.
Today, built-ins are all of the form
<name: var>(<op1: term>, <op2: term>, ...)
. We could namespace built-ins as follows:<name: ref>(<op1: term>, <op2: term>, ...)
. E.g.,my.special.builtin.func("foo")
.The text was updated successfully, but these errors were encountered: