Skip to content

Commit

Permalink
fix: list cn operations
Browse files Browse the repository at this point in the history
  • Loading branch information
rokasramas committed Feb 8, 2021
1 parent 8f1aa97 commit fe9915d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions core/resources/rgl/grammar/CN.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{:type "CN",
:module "Grammar",
:description "",
:functions
[{:function "ConjCN",
:type ["Conj" "ListCN" "CN"],
:example "man and woman",
:label "mkCN"}]}
6 changes: 5 additions & 1 deletion core/resources/rgl/grammar/ListCN.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
:module "Grammar",
:description "",
:functions
[{:function "ConsCN",
[{:function "BaseCN",
:type ["CN" "CN" "ListCN"],
:example "man, woman",
:label "mkListCN"}
{:function "ConsCN",
:type ["CN" "ListCN" "ListCN"],
:example "man, woman, child",
:label "mkListCN"}]}

0 comments on commit fe9915d

Please sign in to comment.