JSON and YAML syntax definitions #10

Closed
darvin opened this Issue May 11, 2012 · 5 comments

Projects

None yet

3 participants

@darvin

is all syntax definitions written for Fragaria or just conventered from some other format?

@mugginsoft
Owner

The syntax definitions are simple dictionaries rendered as property lists.
The structure (key names etc) is unique to Fragaria.

That said, the syntax definitions are simple and transforming them in to JSON or YAML would be a simple matter of loading up the plist and dumping it out using the likes of JSONKit or YAMLKit.

@eightbitme

Anyone got a pre made YAML syntax definition though?

@mugginsoft
Owner

YAML is a markup scheme not a language with a pre-defined syntax.

@mugginsoft mugginsoft closed this Sep 27, 2012
@eightbitme
@mugginsoft
Owner

Most of Fragaria's highlighting is keyword based which might make YAML highlighting more difficult as you will need to use regex's to identity the keys etc.

Some of the other forks might have better regex support for colouring.

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