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

Suggestion: Improve yaml implementation #25

Open
Tuke-Nuke opened this issue May 29, 2017 · 1 comment
Open

Suggestion: Improve yaml implementation #25

Tuke-Nuke opened this issue May 29, 2017 · 1 comment

Comments

@Tuke-Nuke
Copy link

As discussed in discord about yaml support, Rezz (Idk his github) suggested to not parse a yaml file every time, since it is a bad option and makes unnecessary process. I already thought about it once. So, here is some suggestion:

#Syntax example: y[a]ml (of|from|) [file] %string%
set {_yaml} to yaml "../somefile.yml"
#Then, give support in yaml expressions using %string/yaml% in file field
set yaml value "Hey" of file {_yaml} to "Test"
#Then, to not save the file every time, it can only save if the file path was a string, and not yaml
#So it will need a proper effect to save yaml after all changes.
#Syntax example: save %yaml% at [file] %string%
save {_yaml} at file "../somefile.yml"
@tim740
Copy link
Owner

tim740 commented Aug 29, 2017

Maybe we could work together on this?

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

No branches or pull requests

2 participants