editors

changeset 31:2479d630c1e3

Added TextMate bundle that works for TextMate (OS X) or e (Windows and *nix)
author Jeremy Cowgar <jeremy@cowgar.com>
date Sat Nov 27 11:49:44 2010 -0500 (2010-11-27)
parents 8062135a19d3
children 53d4f9942e1c
files Euphoria.tmbundle/Commands/Test Current File.tmCommand Euphoria.tmbundle/Preferences/Comments.tmPreferences Euphoria.tmbundle/Preferences/Indent Rules.tmPreferences Euphoria.tmbundle/Preferences/Spell Checking (Comments).tmPreferences Euphoria.tmbundle/Preferences/Spell Checking (Strings).tmPreferences Euphoria.tmbundle/Snippets/Elsdef Statement.tmSnippet Euphoria.tmbundle/Snippets/Else If.tmSnippet Euphoria.tmbundle/Snippets/For Statement.tmSnippet Euphoria.tmbundle/Snippets/Foreach Statement.tmSnippet Euphoria.tmbundle/Snippets/Function.tmSnippet Euphoria.tmbundle/Snippets/IfEnd.tmSnippet Euphoria.tmbundle/Snippets/Ifdef Statement.tmSnippet Euphoria.tmbundle/Snippets/Loop Until.tmSnippet Euphoria.tmbundle/Snippets/Procedure.tmSnippet Euphoria.tmbundle/Snippets/Type.tmSnippet Euphoria.tmbundle/Snippets/While Loop.tmSnippet Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage Euphoria.tmbundle/Syntaxes/eTml.tmLanguage Euphoria.tmbundle/info.plist
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Euphoria.tmbundle/Commands/Test Current File.tmCommand	Sat Nov 27 11:49:44 2010 -0500
     1.3 @@ -0,0 +1,43 @@
     1.4 +<?xml version="1.0" encoding="UTF-8" ?>
     1.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     1.6 +<plist version="1.0">
     1.7 +    <dict>
     1.8 +        <key>name</key>
     1.9 +        <string>Test Current File</string>
    1.10 +        <key>uuid</key>
    1.11 +        <string>DC2E2191-0318-4031-AC5C-7ED23D0F8732</string>
    1.12 +        <key>input</key>
    1.13 +        <string>none</string>
    1.14 +        <key>output</key>
    1.15 +        <string>showAsTooltip</string>
    1.16 +        <key>command</key>
    1.17 +        <string># just to remind you of some useful environment variables
    1.18 +
    1.19 +echo File: "$TM_FILEPATH"
    1.20 +echo Word: "$TM_CURRENT_WORD"
    1.21 +echo Selection: "$TM_SELECTED_TEXT"</string>
    1.22 +        <key>runEnvironment</key>
    1.23 +        <string>windows</string>
    1.24 +        <key>winCommand</key>
    1.25 +        <string>#!/usr/bin/env eui
    1.26 +
    1.27 +include std/filesys.e
    1.28 +
    1.29 +sequence FilePath = getenv("TM_FILEPATH")
    1.30 +sequence FileDir  = getenv("TM_DIRECTORY")
    1.31 +
    1.32 +filesys:chdir(FileDir)
    1.33 +
    1.34 +sequence command = sprintf("eui -test -batch %s", { FilePath })
    1.35 +if system_exec(command) = 0 then
    1.36 +	puts(1, "Success")
    1.37 +else
    1.38 +	puts(1, "Failure")
    1.39 +end if
    1.40 +</string>
    1.41 +        <key>scope</key>
    1.42 +        <string>source.euphoria</string>
    1.43 +        <key>beforeRunningCommand</key>
    1.44 +        <string>saveActiveFile</string>
    1.45 +    </dict>
    1.46 +</plist>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/Euphoria.tmbundle/Preferences/Comments.tmPreferences	Sat Nov 27 11:49:44 2010 -0500
     2.3 @@ -0,0 +1,38 @@
     2.4 +<?xml version="1.0" encoding="UTF-8" ?>
     2.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     2.6 +<plist version="1.0">
     2.7 +    <dict>
     2.8 +        <key>name</key>
     2.9 +        <string>Comments</string>
    2.10 +        <key>uuid</key>
    2.11 +        <string>0B14DB64-85D5-41E7-B32E-B4C84B47B322</string>
    2.12 +        <key>settings</key>
    2.13 +        <dict>
    2.14 +            <key>shellVariables</key>
    2.15 +            <array>
    2.16 +                <dict>
    2.17 +                    <key>name</key>
    2.18 +                    <string>TM_COMMENT_START</string>
    2.19 +                    <key>value</key>
    2.20 +                    <string>-- </string>
    2.21 +                </dict>
    2.22 +                <dict>
    2.23 +                    <key>name</key>
    2.24 +                    <string>TM_COMMENT_START_2</string>
    2.25 +                    <key>value</key>
    2.26 +                    <string>/*
    2.27 +</string>
    2.28 +                </dict>
    2.29 +                <dict>
    2.30 +                    <key>name</key>
    2.31 +                    <string>TM_COMMENT_END_2</string>
    2.32 +                    <key>value</key>
    2.33 +                    <string>
    2.34 +*/</string>
    2.35 +                </dict>
    2.36 +            </array>
    2.37 +        </dict>
    2.38 +        <key>scope</key>
    2.39 +        <string></string>
    2.40 +    </dict>
    2.41 +</plist>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/Euphoria.tmbundle/Preferences/Indent Rules.tmPreferences	Sat Nov 27 11:49:44 2010 -0500
     3.3 @@ -0,0 +1,41 @@
     3.4 +<?xml version="1.0" encoding="UTF-8" ?>
     3.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3.6 +<plist version="1.0">
     3.7 +    <dict>
     3.8 +        <key>name</key>
     3.9 +        <string>Indent Rules</string>
    3.10 +        <key>uuid</key>
    3.11 +        <string>935FF0C9-D97D-44E4-B347-AA18727E585C</string>
    3.12 +        <key>settings</key>
    3.13 +        <dict>
    3.14 +            <key>decreaseIndentPattern</key>
    3.15 +            <string>^\s*([}\]]\s*$|(case|else|elsif|end|elsifdef|elsedef|then|do|entry)\b)</string>
    3.16 +            <key>increaseIndentPattern</key>
    3.17 +            <string>(?x)^
    3.18 +    (\s*
    3.19 +        (case
    3.20 +        |do
    3.21 +        |else|elsif|elsifdef|elsedef|entry
    3.22 +        |for
    3.23 +        |if|ifdef
    3.24 +        |loop
    3.25 +        |switch
    3.26 +        |then
    3.27 +        |while
    3.28 +        |for|while|until
    3.29 +        |((override|global|public|export)\s+)?(routine|procedure|function|type)
    3.30 +	)\b
    3.31 +    (?! .*? \bend\b )
    3.32 +    |(  "(\\.|[^\\"])*+"  # eat a double quoted string
    3.33 +	 | `(\\.|[^\\`])*+`      # eat a backtick quoted string
    3.34 +     | '(\\.|[^\\'])*+'      # eat a single quoted string
    3.35 +     |   [^#"']                 # eat all but comments and strings
    3.36 +     )*
    3.37 +     ( \{ (?!  [^}]*+ \} )
    3.38 +     )
    3.39 +    ).*$</string>
    3.40 +        </dict>
    3.41 +        <key>scope</key>
    3.42 +        <string>source.euphoria</string>
    3.43 +    </dict>
    3.44 +</plist>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/Euphoria.tmbundle/Preferences/Spell Checking (Comments).tmPreferences	Sat Nov 27 11:49:44 2010 -0500
     4.3 @@ -0,0 +1,17 @@
     4.4 +<?xml version="1.0" encoding="UTF-8" ?>
     4.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     4.6 +<plist version="1.0">
     4.7 +    <dict>
     4.8 +        <key>name</key>
     4.9 +        <string>Spell Checking (Comments)</string>
    4.10 +        <key>uuid</key>
    4.11 +        <string>2E6F3E20-06A2-4C2C-BCD4-C4989B827D9F</string>
    4.12 +        <key>settings</key>
    4.13 +        <dict>
    4.14 +            <key>spellChecking</key>
    4.15 +            <integer>1</integer>
    4.16 +        </dict>
    4.17 +        <key>scope</key>
    4.18 +        <string>comment.block.euphoria, comment.line.euphoria</string>
    4.19 +    </dict>
    4.20 +</plist>
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/Euphoria.tmbundle/Preferences/Spell Checking (Strings).tmPreferences	Sat Nov 27 11:49:44 2010 -0500
     5.3 @@ -0,0 +1,17 @@
     5.4 +<?xml version="1.0" encoding="UTF-8" ?>
     5.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     5.6 +<plist version="1.0">
     5.7 +    <dict>
     5.8 +        <key>name</key>
     5.9 +        <string>Spell Checking (Strings)</string>
    5.10 +        <key>uuid</key>
    5.11 +        <string>F6BDD6F1-C593-4D81-9E89-A83468182069</string>
    5.12 +        <key>settings</key>
    5.13 +        <dict>
    5.14 +            <key>spellChecking</key>
    5.15 +            <integer>1</integer>
    5.16 +        </dict>
    5.17 +        <key>scope</key>
    5.18 +        <string>string.quoted.double.euphoria, string.quoted.triple.euphoria, string.quoted.backtick.euphoria</string>
    5.19 +    </dict>
    5.20 +</plist>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/Euphoria.tmbundle/Snippets/Elsdef Statement.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
     6.3 @@ -0,0 +1,17 @@
     6.4 +<?xml version="1.0" encoding="UTF-8" ?>
     6.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     6.6 +<plist version="1.0">
     6.7 +    <dict>
     6.8 +        <key>name</key>
     6.9 +        <string>Elsdef Statement</string>
    6.10 +        <key>uuid</key>
    6.11 +        <string>9CA22627-8987-421A-B1D1-DA3D17E99353</string>
    6.12 +        <key>tabTrigger</key>
    6.13 +        <string>elsifdef</string>
    6.14 +        <key>content</key>
    6.15 +        <string>elsifdef ${1:DEFINE} then
    6.16 +	$0</string>
    6.17 +        <key>scope</key>
    6.18 +        <string>source.euphoria</string>
    6.19 +    </dict>
    6.20 +</plist>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/Euphoria.tmbundle/Snippets/Else If.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
     7.3 @@ -0,0 +1,17 @@
     7.4 +<?xml version="1.0" encoding="UTF-8" ?>
     7.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     7.6 +<plist version="1.0">
     7.7 +    <dict>
     7.8 +        <key>name</key>
     7.9 +        <string>Else If</string>
    7.10 +        <key>uuid</key>
    7.11 +        <string>D6383D3B-80E5-4512-8D97-DEE6550B184A</string>
    7.12 +        <key>content</key>
    7.13 +        <string>elsif ${1:condition} then
    7.14 +	$0</string>
    7.15 +        <key>scope</key>
    7.16 +        <string>source.euphoria</string>
    7.17 +        <key>tabTrigger</key>
    7.18 +        <string>elsif</string>
    7.19 +    </dict>
    7.20 +</plist>
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/Euphoria.tmbundle/Snippets/For Statement.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
     8.3 @@ -0,0 +1,18 @@
     8.4 +<?xml version="1.0" encoding="UTF-8" ?>
     8.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     8.6 +<plist version="1.0">
     8.7 +    <dict>
     8.8 +        <key>name</key>
     8.9 +        <string>For Statement</string>
    8.10 +        <key>uuid</key>
    8.11 +        <string>E7918AFB-2C91-4EFA-B4A0-6DB49BC15423</string>
    8.12 +        <key>tabTrigger</key>
    8.13 +        <string>for</string>
    8.14 +        <key>content</key>
    8.15 +        <string>for ${1:i} = ${2:1} to ${3:end count} ${4:opts}do
    8.16 +	$0
    8.17 +end for</string>
    8.18 +        <key>scope</key>
    8.19 +        <string>source.euphoria</string>
    8.20 +    </dict>
    8.21 +</plist>
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/Euphoria.tmbundle/Snippets/Foreach Statement.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
     9.3 @@ -0,0 +1,20 @@
     9.4 +<?xml version="1.0" encoding="UTF-8" ?>
     9.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     9.6 +<plist version="1.0">
     9.7 +    <dict>
     9.8 +        <key>name</key>
     9.9 +        <string>Foreach Statement</string>
    9.10 +        <key>uuid</key>
    9.11 +        <string>35893F74-CBDF-4BFA-A23A-56D4700B81AB</string>
    9.12 +        <key>tabTrigger</key>
    9.13 +        <string>foreach</string>
    9.14 +        <key>content</key>
    9.15 +        <string>for ${1:i} = ${2:1} to length(${3:items}) ${opts}do
    9.16 +	${4:object} ${5:item} = $3[$1]
    9.17 +	
    9.18 +	$0
    9.19 +end for</string>
    9.20 +        <key>scope</key>
    9.21 +        <string>source.euphoria</string>
    9.22 +    </dict>
    9.23 +</plist>
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/Euphoria.tmbundle/Snippets/Function.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    10.3 @@ -0,0 +1,27 @@
    10.4 +<?xml version="1.0" encoding="UTF-8" ?>
    10.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    10.6 +<plist version="1.0">
    10.7 +    <dict>
    10.8 +        <key>name</key>
    10.9 +        <string>Function</string>
   10.10 +        <key>uuid</key>
   10.11 +        <string>19C59048-B81F-4568-B037-A3AA8C383294</string>
   10.12 +        <key>content</key>
   10.13 +        <string>--**
   10.14 +-- ${1:one line description of function}
   10.15 +--
   10.16 +-- Parameters:
   10.17 +-- 
   10.18 +-- Returns:
   10.19 +--   ${2:return value description}
   10.20 +
   10.21 +${3:visibility} function ${4:name}(${5:parameters})
   10.22 +	$0
   10.23 +end function
   10.24 +</string>
   10.25 +        <key>scope</key>
   10.26 +        <string>source.euphoria</string>
   10.27 +        <key>tabTrigger</key>
   10.28 +        <string>function</string>
   10.29 +    </dict>
   10.30 +</plist>
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/Euphoria.tmbundle/Snippets/IfEnd.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    11.3 @@ -0,0 +1,18 @@
    11.4 +<?xml version="1.0" encoding="UTF-8" ?>
    11.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    11.6 +<plist version="1.0">
    11.7 +    <dict>
    11.8 +        <key>name</key>
    11.9 +        <string>If/End</string>
   11.10 +        <key>uuid</key>
   11.11 +        <string>1E8469D8-3B21-44F3-9F3C-32336F91BAEE</string>
   11.12 +        <key>content</key>
   11.13 +        <string>if ${1:condition} then
   11.14 +	$0
   11.15 +end if</string>
   11.16 +        <key>scope</key>
   11.17 +        <string>source.euphoria</string>
   11.18 +        <key>tabTrigger</key>
   11.19 +        <string>if</string>
   11.20 +    </dict>
   11.21 +</plist>
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/Euphoria.tmbundle/Snippets/Ifdef Statement.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    12.3 @@ -0,0 +1,18 @@
    12.4 +<?xml version="1.0" encoding="UTF-8" ?>
    12.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    12.6 +<plist version="1.0">
    12.7 +    <dict>
    12.8 +        <key>name</key>
    12.9 +        <string>Ifdef Statement</string>
   12.10 +        <key>uuid</key>
   12.11 +        <string>A7B973B5-681A-4E0D-8499-3F69D4675887</string>
   12.12 +        <key>tabTrigger</key>
   12.13 +        <string>ifdef</string>
   12.14 +        <key>content</key>
   12.15 +        <string>ifdef ${1:DEFINE} then
   12.16 +	$0
   12.17 +end ifdef</string>
   12.18 +        <key>scope</key>
   12.19 +        <string>source.euphoria</string>
   12.20 +    </dict>
   12.21 +</plist>
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/Euphoria.tmbundle/Snippets/Loop Until.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    13.3 @@ -0,0 +1,20 @@
    13.4 +<?xml version="1.0" encoding="UTF-8" ?>
    13.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    13.6 +<plist version="1.0">
    13.7 +    <dict>
    13.8 +        <key>name</key>
    13.9 +        <string>Loop Until</string>
   13.10 +        <key>uuid</key>
   13.11 +        <string>75FE6050-2624-4CCB-BFF4-7B3AD3E1525F</string>
   13.12 +        <key>content</key>
   13.13 +        <string>loop ${1:opts}do
   13.14 +	$0
   13.15 +	
   13.16 +	until ${2:condition}
   13.17 +end loop</string>
   13.18 +        <key>scope</key>
   13.19 +        <string>source.euphoria</string>
   13.20 +        <key>tabTrigger</key>
   13.21 +        <string>loop</string>
   13.22 +    </dict>
   13.23 +</plist>
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/Euphoria.tmbundle/Snippets/Procedure.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    14.3 @@ -0,0 +1,25 @@
    14.4 +<?xml version="1.0" encoding="UTF-8" ?>
    14.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    14.6 +<plist version="1.0">
    14.7 +    <dict>
    14.8 +        <key>name</key>
    14.9 +        <string>Procedure</string>
   14.10 +        <key>uuid</key>
   14.11 +        <string>9C2EDD56-B198-40F5-AA02-EC8F0812C6B6</string>
   14.12 +        <key>content</key>
   14.13 +        <string>--**
   14.14 +-- ${1:one line description of procedure}
   14.15 +--
   14.16 +-- Parameters:
   14.17 +-- 
   14.18 +
   14.19 +${2:visibility} procedure ${3:name}(${4:parameters})
   14.20 +	$0
   14.21 +end procedure
   14.22 +</string>
   14.23 +        <key>scope</key>
   14.24 +        <string>source.euphoria</string>
   14.25 +        <key>tabTrigger</key>
   14.26 +        <string>procedure</string>
   14.27 +    </dict>
   14.28 +</plist>
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/Euphoria.tmbundle/Snippets/Type.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    15.3 @@ -0,0 +1,33 @@
    15.4 +<?xml version="1.0" encoding="UTF-8" ?>
    15.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    15.6 +<plist version="1.0">
    15.7 +    <dict>
    15.8 +        <key>name</key>
    15.9 +        <string>Type</string>
   15.10 +        <key>uuid</key>
   15.11 +        <string>C16BB8FC-15E6-4E90-B7DC-7E59B2748BCA</string>
   15.12 +        <key>content</key>
   15.13 +        <string>--**
   15.14 +-- ${1:one line description of type}
   15.15 +--
   15.16 +-- Parameters:
   15.17 +--   * ##o## - object to test
   15.18 +-- 
   15.19 +-- Returns:
   15.20 +--   ##TRUE## if ##o## is a ${2:name} type or ##FALSE## if not.
   15.21 +--
   15.22 +
   15.23 +${3:visibility} type $2(object o)
   15.24 +	-- Conditions that invalidate `o` as a $2 type
   15.25 +	$0
   15.26 +	
   15.27 +	-- `o` is a $2
   15.28 +	return 1
   15.29 +end type
   15.30 +</string>
   15.31 +        <key>scope</key>
   15.32 +        <string>source.euphoria</string>
   15.33 +        <key>tabTrigger</key>
   15.34 +        <string>type</string>
   15.35 +    </dict>
   15.36 +</plist>
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/Euphoria.tmbundle/Snippets/While Loop.tmSnippet	Sat Nov 27 11:49:44 2010 -0500
    16.3 @@ -0,0 +1,18 @@
    16.4 +<?xml version="1.0" encoding="UTF-8" ?>
    16.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    16.6 +<plist version="1.0">
    16.7 +    <dict>
    16.8 +        <key>name</key>
    16.9 +        <string>While Loop</string>
   16.10 +        <key>uuid</key>
   16.11 +        <string>1B0E07E2-24E7-4505-90B4-D72B3555621F</string>
   16.12 +        <key>tabTrigger</key>
   16.13 +        <string>while</string>
   16.14 +        <key>content</key>
   16.15 +        <string>while ${1:condition} ${2:opts}do
   16.16 +	$0
   16.17 +end while</string>
   16.18 +        <key>scope</key>
   16.19 +        <string>source.euphoria</string>
   16.20 +    </dict>
   16.21 +</plist>
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage	Sat Nov 27 11:49:44 2010 -0500
    17.3 @@ -0,0 +1,274 @@
    17.4 +<?xml version="1.0" encoding="UTF-8" ?>
    17.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    17.6 +<plist version="1.0">
    17.7 +    <dict>
    17.8 +        <key>uuid</key>
    17.9 +        <string>B44EEA00-8659-421B-BD7C-9015E45CB8ED</string>
   17.10 +        <key>keyEquivalent</key>
   17.11 +        <string>^~E</string>
   17.12 +        <key>patterns</key>
   17.13 +        <array>
   17.14 +            <dict>
   17.15 +                <key>name</key>
   17.16 +                <string>constant.numeric.standard.euphoria</string>
   17.17 +                <key>match</key>
   17.18 +                <string>\b[+-]?[0-9_]+\b</string>
   17.19 +            </dict>
   17.20 +            <dict>
   17.21 +                <key>name</key>
   17.22 +                <string>constant.numeric.binary.euphoria</string>
   17.23 +                <key>match</key>
   17.24 +                <string>\b0b[0-1_]+\b</string>
   17.25 +            </dict>
   17.26 +            <dict>
   17.27 +                <key>name</key>
   17.28 +                <string>constant.numeric.octal.euphoria</string>
   17.29 +                <key>match</key>
   17.30 +                <string>\b0t[0-7_]+\b</string>
   17.31 +            </dict>
   17.32 +            <dict>
   17.33 +                <key>name</key>
   17.34 +                <string>constant.numeric.decimal.euphoria</string>
   17.35 +                <key>match</key>
   17.36 +                <string>\b0d[0-9_]+\b</string>
   17.37 +            </dict>
   17.38 +            <dict>
   17.39 +                <key>name</key>
   17.40 +                <string>constant.numeric.hex.euphoria</string>
   17.41 +                <key>match</key>
   17.42 +                <string>\b0x[0-9A-Fa-f_]+\b</string>
   17.43 +            </dict>
   17.44 +            <dict>
   17.45 +                <key>name</key>
   17.46 +                <string>constant.numeric.hex-old.euphoria</string>
   17.47 +                <key>match</key>
   17.48 +                <string>#[0-9A-Fa-f_]+\b</string>
   17.49 +            </dict>
   17.50 +            <dict>
   17.51 +                <key>begin</key>
   17.52 +                <string>^\s*include\b</string>
   17.53 +                <key>name</key>
   17.54 +                <string>meta.preprocessor.include.euphoria</string>
   17.55 +                <key>patterns</key>
   17.56 +                <array>
   17.57 +                    <dict>
   17.58 +                        <key>name</key>
   17.59 +                        <string>keyword.as.euphoria</string>
   17.60 +                        <key>match</key>
   17.61 +                        <string>\bas\b</string>
   17.62 +                    </dict>
   17.63 +                    <dict>
   17.64 +                        <key>name</key>
   17.65 +                        <string>constant.quoted.filename.euphoria</string>
   17.66 +                        <key>match</key>
   17.67 +                        <string>\b[^ ]+\b</string>
   17.68 +                    </dict>
   17.69 +                </array>
   17.70 +                <key>end</key>
   17.71 +                <string>$</string>
   17.72 +            </dict>
   17.73 +            <dict>
   17.74 +                <key>name</key>
   17.75 +                <string>constant.quoted.namespace.euphoria</string>
   17.76 +                <key>match</key>
   17.77 +                <string>\b[a-zA-Z_][A-Za-z0-9_]*:</string>
   17.78 +            </dict>
   17.79 +            <dict>
   17.80 +                <key>name</key>
   17.81 +                <string>meta.preprocessor.euphoria</string>
   17.82 +                <key>match</key>
   17.83 +                <string>\b(elsifdef|elsedef|ifdef|namespace|trace|with|without)\b</string>
   17.84 +            </dict>
   17.85 +            <dict>
   17.86 +                <key>name</key>
   17.87 +                <string>keyword.control.euphoria</string>
   17.88 +                <key>match</key>
   17.89 +                <string>(?x)\b(
   17.90 +	         	and|as
   17.91 +    	     	|by
   17.92 +        	 	|case|constant
   17.93 +         		|do
   17.94 +	         	|else|elsif|end|enum
   17.95 +	         	|for|function
   17.96 +	         	|if
   17.97 +	         	|loop
   17.98 +	         	|not
   17.99 +	         	|or
  17.100 +	         	|procedure
  17.101 +	         	|routine
  17.102 +	         	|switch
  17.103 +	         	|then|to|type
  17.104 +	         	|until
  17.105 +	         	|while
  17.106 +	         	|xor
  17.107 +         	)\b</string>
  17.108 +            </dict>
  17.109 +            <dict>
  17.110 +                <key>name</key>
  17.111 +                <string>keyword.jump.euphoria</string>
  17.112 +                <key>match</key>
  17.113 +                <string>\b(abort|break|continue|crash|entry|exit|fallthru|goto|label|return|retry)</string>
  17.114 +            </dict>
  17.115 +            <dict>
  17.116 +                <key>name</key>
  17.117 +                <string>storage.type.euphoria</string>
  17.118 +                <key>match</key>
  17.119 +                <string>\b(object|sequence|integer|atom)\b</string>
  17.120 +            </dict>
  17.121 +            <dict>
  17.122 +                <key>name</key>
  17.123 +                <string>storage.modifier.access-control.euphoria</string>
  17.124 +                <key>match</key>
  17.125 +                <string>\b(override|global|public|export)\b</string>
  17.126 +            </dict>
  17.127 +            <dict>
  17.128 +                <key>name</key>
  17.129 +                <string>constant.other.euphoria</string>
  17.130 +                <key>match</key>
  17.131 +                <string>\b[A-Z0-9_]+\b</string>
  17.132 +            </dict>
  17.133 +            <dict>
  17.134 +                <key>begin</key>
  17.135 +                <string>"""</string>
  17.136 +                <key>name</key>
  17.137 +                <string>string.quoted.triple.euphoria</string>
  17.138 +                <key>end</key>
  17.139 +                <string>"""</string>
  17.140 +            </dict>
  17.141 +            <dict>
  17.142 +                <key>begin</key>
  17.143 +                <string>`</string>
  17.144 +                <key>name</key>
  17.145 +                <string>string.quoted.backtick.euphoria</string>
  17.146 +                <key>end</key>
  17.147 +                <string>`</string>
  17.148 +            </dict>
  17.149 +            <dict>
  17.150 +                <key>begin</key>
  17.151 +                <string>"</string>
  17.152 +                <key>endCaptures</key>
  17.153 +                <dict>
  17.154 +                    <key>0</key>
  17.155 +                    <dict>
  17.156 +                        <key>name</key>
  17.157 +                        <string>punctuation.definition.string.end.euphoria</string>
  17.158 +                    </dict>
  17.159 +                </dict>
  17.160 +                <key>beginCaptures</key>
  17.161 +                <dict>
  17.162 +                    <key>0</key>
  17.163 +                    <dict>
  17.164 +                        <key>name</key>
  17.165 +                        <string>punctuation.definition.string.begin.euphoria</string>
  17.166 +                    </dict>
  17.167 +                </dict>
  17.168 +                <key>name</key>
  17.169 +                <string>string.quoted.double.euphoria</string>
  17.170 +                <key>patterns</key>
  17.171 +                <array>
  17.172 +                    <dict>
  17.173 +                        <key>include</key>
  17.174 +                        <string>#string_escaped_char</string>
  17.175 +                    </dict>
  17.176 +                </array>
  17.177 +                <key>end</key>
  17.178 +                <string>"</string>
  17.179 +            </dict>
  17.180 +            <dict>
  17.181 +                <key>begin</key>
  17.182 +                <string>'</string>
  17.183 +                <key>endCaptures</key>
  17.184 +                <dict>
  17.185 +                    <key>0</key>
  17.186 +                    <dict>
  17.187 +                        <key>name</key>
  17.188 +                        <string>punctuation.definition.string.end.euphoria</string>
  17.189 +                    </dict>
  17.190 +                </dict>
  17.191 +                <key>beginCaptures</key>
  17.192 +                <dict>
  17.193 +                    <key>0</key>
  17.194 +                    <dict>
  17.195 +                        <key>name</key>
  17.196 +                        <string>punctuation.definition.string.begin.euphoria</string>
  17.197 +                    </dict>
  17.198 +                </dict>
  17.199 +                <key>name</key>
  17.200 +                <string>string.quoted.single.euphoria</string>
  17.201 +                <key>patterns</key>
  17.202 +                <array>
  17.203 +                    <dict>
  17.204 +                        <key>include</key>
  17.205 +                        <string>#string_escaped_char</string>
  17.206 +                    </dict>
  17.207 +                </array>
  17.208 +                <key>end</key>
  17.209 +                <string>'</string>
  17.210 +            </dict>
  17.211 +            <dict>
  17.212 +                <key>begin</key>
  17.213 +                <string>/\*</string>
  17.214 +                <key>captures</key>
  17.215 +                <dict>
  17.216 +                    <key>0</key>
  17.217 +                    <dict>
  17.218 +                        <key>name</key>
  17.219 +                        <string>punctuation.definition.comment.euphoria</string>
  17.220 +                    </dict>
  17.221 +                </dict>
  17.222 +                <key>name</key>
  17.223 +                <string>comment.block.euphoria</string>
  17.224 +                <key>end</key>
  17.225 +                <string>\*/</string>
  17.226 +            </dict>
  17.227 +            <dict>
  17.228 +                <key>captures</key>
  17.229 +                <dict>
  17.230 +                    <key>1</key>
  17.231 +                    <dict>
  17.232 +                        <key>name</key>
  17.233 +                        <string>punctuation.definition.comment.euphoria</string>
  17.234 +                    </dict>
  17.235 +                </dict>
  17.236 +                <key>name</key>
  17.237 +                <string>comment.line.double-dash.euphoria</string>
  17.238 +                <key>match</key>
  17.239 +                <string>(--).*$\n?</string>
  17.240 +            </dict>
  17.241 +        </array>
  17.242 +        <key>name</key>
  17.243 +        <string>Euphoria</string>
  17.244 +        <key>scopeName</key>
  17.245 +        <string>source.euphoria</string>
  17.246 +        <key>fileTypes</key>
  17.247 +        <array>
  17.248 +            <string>e</string>
  17.249 +            <string>ex</string>
  17.250 +            <string>exw</string>
  17.251 +            <string>exu</string>
  17.252 +        </array>
  17.253 +        <key>repository</key>
  17.254 +        <dict>
  17.255 +            <key>string_escaped_char</key>
  17.256 +            <dict>
  17.257 +                <key>patterns</key>
  17.258 +                <array>
  17.259 +                    <dict>
  17.260 +                        <key>name</key>
  17.261 +                        <string>constant.character.escape.euphoria</string>
  17.262 +                        <key>match</key>
  17.263 +                        <string>\\(\\|[nrte'"0?]|[0-3]\d{2}|[4-7]\d?|x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|b[0-1]+)</string>
  17.264 +                    </dict>
  17.265 +                    <dict>
  17.266 +                        <key>name</key>
  17.267 +                        <string>invalid.illegal.unknown-escape.euphoria</string>
  17.268 +                        <key>match</key>
  17.269 +                        <string>\\.</string>
  17.270 +                    </dict>
  17.271 +                </array>
  17.272 +            </dict>
  17.273 +        </dict>
  17.274 +        <key>firstLineMatch</key>
  17.275 +        <string>^#!/.*\beui(w)?\b</string>
  17.276 +    </dict>
  17.277 +</plist>
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/Euphoria.tmbundle/Syntaxes/eTml.tmLanguage	Sat Nov 27 11:49:44 2010 -0500
    18.3 @@ -0,0 +1,59 @@
    18.4 +<?xml version="1.0" encoding="UTF-8" ?>
    18.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    18.6 +<plist version="1.0">
    18.7 +    <dict>
    18.8 +        <key>uuid</key>
    18.9 +        <string>FEBA531A-47BB-4C15-80E8-B239FD3CFBA4</string>
   18.10 +        <key>patterns</key>
   18.11 +        <array>
   18.12 +            <dict>
   18.13 +                <key>begin</key>
   18.14 +                <string>&lt;%</string>
   18.15 +                <key>captures</key>
   18.16 +                <dict>
   18.17 +                    <key>0</key>
   18.18 +                    <dict>
   18.19 +                        <key>name</key>
   18.20 +                        <string>punctuation.section.embedded.euphoria</string>
   18.21 +                    </dict>
   18.22 +                </dict>
   18.23 +                <key>name</key>
   18.24 +                <string>source.euphoria.etml.embedded.html</string>
   18.25 +                <key>patterns</key>
   18.26 +                <array>
   18.27 +                    <dict>
   18.28 +                        <key>include</key>
   18.29 +                        <string>source.euphoria</string>
   18.30 +                    </dict>
   18.31 +                </array>
   18.32 +                <key>end</key>
   18.33 +                <string>-?%&gt;</string>
   18.34 +            </dict>
   18.35 +            <dict>
   18.36 +                <key>include</key>
   18.37 +                <string>text.html.basic</string>
   18.38 +            </dict>
   18.39 +        </array>
   18.40 +        <key>name</key>
   18.41 +        <string>HTML (Euphoria)</string>
   18.42 +        <key>scopeName</key>
   18.43 +        <string>text.html.euphoria</string>
   18.44 +        <key>fileTypes</key>
   18.45 +        <array>
   18.46 +            <string>etml</string>
   18.47 +            <string>etag</string>
   18.48 +        </array>
   18.49 +        <key>foldingStopMarker</key>
   18.50 +        <string>(?x)
   18.51 +		(&lt;/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)&gt;
   18.52 +		|^\s*--&gt;
   18.53 +		|(^|\s)\}
   18.54 +		)</string>
   18.55 +        <key>foldingStartMarker</key>
   18.56 +        <string>(?x)
   18.57 +		(&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?&gt;
   18.58 +		|&lt;!--(?!.*--&gt;)
   18.59 +		|\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
   18.60 +		)</string>
   18.61 +    </dict>
   18.62 +</plist>
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/Euphoria.tmbundle/info.plist	Sat Nov 27 11:49:44 2010 -0500
    19.3 @@ -0,0 +1,23 @@
    19.4 +<?xml version="1.0" encoding="UTF-8" ?>
    19.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    19.6 +<plist version="1.0">
    19.7 +    <dict>
    19.8 +        <key>contactEmailRot13</key>
    19.9 +        <string>wrerzl@pbjtne.pbz</string>
   19.10 +        <key>contactName</key>
   19.11 +        <string>Jeremy Cowgar</string>
   19.12 +        <key>description</key>
   19.13 +        <string>&lt;a href="http://openeuphoria.org"&gt;Euphoria&lt;/a&gt; is a fast cross platform general purpose scripting language that can also be translated directly to C.</string>
   19.14 +        <key>name</key>
   19.15 +        <string>Euphoria</string>
   19.16 +        <key>uuid</key>
   19.17 +        <string>2C53AB68-B1CC-467F-8DE6-F175C26E9C46</string>
   19.18 +        <key>mainMenu</key>
   19.19 +        <dict>
   19.20 +            <key>items</key>
   19.21 +            <array>
   19.22 +                <string>DC2E2191-0318-4031-AC5C-7ED23D0F8732</string>
   19.23 +            </array>
   19.24 +        </dict>
   19.25 +    </dict>
   19.26 +</plist>

SCM Home | OpenEuphoria.org Home