Permalink
Browse files

[NEW] Nemerle bundle from Kamil Stachowski. See http://nemerle.org/Ma…

…in_Page for info about the language.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Nemerle.tmbundle@5346 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
sorbits committed Sep 30, 2006
0 parents commit 498df6ec9b3140ea1e9ccae905330bbc81125051
@@ -0,0 +1,28 @@
+<?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>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
+html_header "Compile &amp;amp; Run" "Nemerle"
+require_cmd ncc
+
+ncc "$TM_FILEPATH" -o "$TM_FILEPATH".exe &amp;&amp; mono "$TM_FILEPATH".exe
+
+html_footer</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>@R</string>
+ <key>name</key>
+ <string>Compile &amp; Run</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>uuid</key>
+ <string>AF355E00-4F11-11DB-B7AC-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,26 @@
+<?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>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
+html_header "Compile Library" "Nemerle"
+require_cmd ncc
+
+ncc -t:library "$TM_FILEPATH" -o "$TM_FILEPATH".dll</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>~R</string>
+ <key>name</key>
+ <string>Compile Library</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>uuid</key>
+ <string>04046396-4FB2-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,26 @@
+<?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>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
+html_header "Compile Macro" "Nemerle"
+require_cmd ncc
+
+ncc -r:Nemerle.Compiler -t:library "$TM_FILEPATH" -o "$TM_FILEPATH".dll</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>^R</string>
+ <key>name</key>
+ <string>Compile Macro</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>uuid</key>
+ <string>BBD358C1-4FB6-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,26 @@
+<?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>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>cs2n -n "$TM_DROPPED_FILE" -o tmpCs2N
+cat tmpCs2N
+rm -f tmpCs2N</string>
+ <key>draggedFileExtensions</key>
+ <array>
+ <string>cs</string>
+ </array>
+ <key>input</key>
+ <string>selection</string>
+ <key>name</key>
+ <string>Import C#</string>
+ <key>output</key>
+ <string>insertAsSnippet</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>uuid</key>
+ <string>F979C35E-4F08-11DB-96B0-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>content</key>
+ <string>abstract </string>
+ <key>name</key>
+ <string>abstract</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>abs</string>
+ <key>uuid</key>
+ <string>FACB8477-4FB6-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,20 @@
+<?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>content</key>
+ <string>class ${1:name}{
+ public this(${2:args}){
+ $3
+ }
+}</string>
+ <key>name</key>
+ <string>class</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>class</string>
+ <key>uuid</key>
+ <string>0ED94763-4FB4-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,22 @@
+<?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>content</key>
+ <string>if (${1:condition}){
+ $2
+} else {
+ $3
+}</string>
+ <key>name</key>
+ <string>if ... else</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>if</string>
+ <key>uuid</key>
+ <string>7EDF2719-4EF3-11DB-BFFE-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,21 @@
+<?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>content</key>
+ <string>when (${1:condition}){
+ $2
+}
+</string>
+ <key>name</key>
+ <string>when</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>when</string>
+ <key>uuid</key>
+ <string>E4B3CF04-4EF2-11DB-BFFE-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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>content</key>
+ <string>do{
+ $2
+} while (${1:condition})
+</string>
+ <key>name</key>
+ <string>do ... while</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>do</string>
+ <key>uuid</key>
+ <string>F1282535-4FB2-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>content</key>
+ <string>enum ${1:name}{
+ | $2
+}</string>
+ <key>name</key>
+ <string>enum</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>enum</string>
+ <key>uuid</key>
+ <string>F4976134-4FB3-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -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>content</key>
+ <string>try{
+ $1
+} catch {
+| ${2:name} is ${3:type} =&gt; $4
+} finally {
+ $5
+}
+</string>
+ <key>name</key>
+ <string>try ... catch ... finally</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>try</string>
+ <key>uuid</key>
+ <string>4FC377A6-4EF7-11DB-96B0-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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>content</key>
+ <string>interface ${1:name}{
+ $2
+}
+</string>
+ <key>name</key>
+ <string>interface</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>inter</string>
+ <key>uuid</key>
+ <string>4D813432-4FB5-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>content</key>
+ <string>for (mutable ${1:name}=${2:value}; ${3:condition}; $1++){
+ $4
+}</string>
+ <key>name</key>
+ <string>for</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>for</string>
+ <key>uuid</key>
+ <string>1E6C8066-4EF4-11DB-BFFE-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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>content</key>
+ <string>foreach (${1:mutable} in ${2:collection}){
+ $3
+}
+</string>
+ <key>name</key>
+ <string>foreach</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>fore</string>
+ <key>uuid</key>
+ <string>88762D83-4EF4-11DB-BFFE-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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>content</key>
+ <string>macro ${1:name}
+ syntax("$1","$2"){
+ $3
+}</string>
+ <key>name</key>
+ <string>macro</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>macro</string>
+ <key>uuid</key>
+ <string>37B85B58-4FB5-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>content</key>
+ <string>match (${1:value}){
+| ${2:value} =&gt; $3
+}</string>
+ <key>name</key>
+ <string>match</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>match</string>
+ <key>uuid</key>
+ <string>EA762083-4FB4-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,20 @@
+<?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>content</key>
+ <string>module Main{
+ Main(${1:args}):void{
+ $2
+ }
+}</string>
+ <key>name</key>
+ <string>module Main</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>Module</string>
+ <key>uuid</key>
+ <string>B1EA0FF4-4EED-11DB-98A4-00112474B8F0</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>content</key>
+ <string>module ${1:name}{
+ $2
+}</string>
+ <key>name</key>
+ <string>module</string>
+ <key>scope</key>
+ <string>source.nemerle</string>
+ <key>tabTrigger</key>
+ <string>module</string>
+ <key>uuid</key>
+ <string>42FC2BCE-4FB4-11DB-ADD3-00112474B8F0</string>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit 498df6e

Please sign in to comment.