Closed mlongval closed 1 year ago
Hi @mlongval,
This sounds like a great idea..! You're right about YAML being "kinder" on human eyes. I think it would be best if PyperCard supported both formats (and so loading the data could just read the file-extension to work out which is being used). Folks then get a choice. Sound like a plan..?
N.
Closing this since we're re-writing PyperCard on top of PyScript and (as yet), no specification schema has yet been decided (but it's likely to be able to us various serialization formats like json
or yaml
). :+1:
Hello,
Your project is interesting. I would suggest that you change the default file format for the adventure text to YAML. Is is a LOT easier for a human to parse, and it is extremly easy to convert to JSON.
Here is your original adventure in YAML format.
Here are example conversion scripts:
Here is the reverse:
What do you think?