Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

JSON and YAML syntax definitions #10

Closed
darvin opened this Issue · 5 comments

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
@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
Something went wrong with that request. Please try again.