INCATools / INCATools/kgcl

use more intuitive syntax for class creation

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
5
PR merge metrics
No merged PRs in 30d

Description

```
create : "create node" _WS id _WS label ["@" language]
create_class: "create" _WS id
```

"node" is not user friendly language, and it's not clear why "node" is coupled with a label

I suggest:

```
create : "create" _WS [node_type _WS] _WS label ["@" language]
node_type : /class|relation/instance/annotation property/
```

Contributor guide

Open the contributing guide

Research direction

No grammar file or test is named in the issue. Locate the implementation of the shown create and create_class rules, then read how node, relation, instance, annotation, and property forms are parsed; done means the syntax decision is settled and covered by grammar tests, including the resulting class-creation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.