Skip to content

Commit

Permalink
Tidied up grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
kolovos committed Feb 12, 2022
1 parent 7a44d3f commit 1d8142e
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 10 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# sublime
# Epsilon Package for Sublime

Package that extends the Sublime text editor with support for syntax highlighting languages of the [Eclipse Epsilon](https://eclipse.org/epsilon) platform, and [Emfatic](https://eclipse.org/emfatic).

## Installation

To install the package, download a copy of `Epsilon.sublime-package` from the Releases section and place it in your `Installed Packages` folder of your Sublime installation.
2 changes: 1 addition & 1 deletion emfatic.tmlanguage
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
<key>scopeName</key>
<string>source.emfatic</string>
<key>uuid</key>
<string>28DCE4DD-F5E1-4ED3-8847-64DA6B1F9164</string>
<string>98DCE4DD-F5E1-4ED3-8847-64DA6B1F9164</string>
</dict>
</plist>
8 changes: 0 additions & 8 deletions eol.tmlanguage
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@
<key>name</key>
<string>string.quoted.single.eol</string>
</dict>
<!--dict>
<key>begin</key>
<string>`</string>
<key>end</key>
<string>`</string>
<key>name</key>
<string>entity.name</string>
</dict-->
<dict>
<key>begin</key>
<string>"</string>
Expand Down
23 changes: 23 additions & 0 deletions flexmi-xml.tmlanguage
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>flexmi</string>
</array>
<key>name</key>
<string>Flexmi (XML)</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>text.xml</string>
</dict>
</array>
<key>scopeName</key>
<string>source.epsilon.flexmi</string>
<key>uuid</key>
<string>29DCE4DD-F5E1-4ED3-8847-64DA6B1F9165</string>
</dict>
</plist>
23 changes: 23 additions & 0 deletions flexmi-yaml.tmlanguage
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>flexmi</string>
</array>
<key>name</key>
<string>Flexmi (YAML)</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.yaml</string>
</dict>
</array>
<key>scopeName</key>
<string>source.epsilon.flexmi.yaml</string>
<key>uuid</key>
<string>29DCE4DD-F5E1-4ED3-8847-64DA6B1F9165</string>
</dict>
</plist>
15 changes: 15 additions & 0 deletions samples/sample-xml.flexmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?nsuri psl?>
<project title="ACME">
<person name="Alice"/>
<person name="Bob"/>
<task title="Analysis" start="1" dur="3">
<effort person="Alice"/>
</task>
<task title="Design" start="4" dur="6">
<effort person="Bob"/>
</task>
<task title="Implementation" start="7" dur="3">
<effort person="Bob" perc="50"/>
<effort person="Alice" perc="50"/>
</task>
</project>
28 changes: 28 additions & 0 deletions samples/sample-yaml.flexmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
'?nsuri': psl
project: {
title: ACME,

task: {
name: Analysis,
start: 1, dur: 3,
effort: {person: Alice}
},

task: {
name: Design,
start: 4, dur: 6,
effort: {person: Bob, perc: 70},
effort: {person: Charlie, perc: 30}
},

task: {
name: Implementation,
start: 7, dur: 3,
effort: {person: Bob, perc: 40},
effort: {person: Alice, perc: 60}
},

person: {name: Alice},
person: {name: Bob},
person: {name: Charlie}
}

0 comments on commit 1d8142e

Please sign in to comment.