Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建新的ink表达式,并使用脚本解析为yaml放到文件中。 #41

Open
Zacharia2 opened this issue Sep 29, 2024 · 3 comments

Comments

@Zacharia2
Copy link
Owner

Zacharia2 commented Sep 29, 2024

lisp本身就是可以转化为dict,json的方式,而且括号不好写,不如直接用yaml。

由我定义系统元数据。

反正怎么表示都得解析为语法树,不如直接用现成的yaml表示。

ink: metadata object

@Zacharia2
Copy link
Owner Author

Zacharia2 commented Sep 29, 2024

ink-pub:
  attr:
    type: Set
    p: [D, R]

@Zacharia2
Copy link
Owner Author

Zacharia2 commented Sep 29, 2024

ink.acc: pub
ink.attr.type: Set
ink.attr.p: [D, R]

@Zacharia2 Zacharia2 changed the title 使用yaml代替lisp表达式 创建新的ink表达式,并使用脚本解析为yaml放到文件中。 Oct 2, 2024
@Zacharia2
Copy link
Owner Author

ink本质是一种数据结构的表示。所以怎么写都会是这样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant