Skip to content

Commit 36d4091

Browse files
committed
AppleScriptLanguage file
1 parent 117ec0d commit 36d4091

File tree

4 files changed

+118
-5
lines changed

4 files changed

+118
-5
lines changed

.DS_Store

6 KB
Binary file not shown.

AppleScript.plist

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.1">
4+
5+
<!--
6+
AppleScript.plist
7+
8+
A simplified version of AppleSript that isn't coded and can't be built.
9+
10+
Copyright Anthony Arblaster 2023
11+
Web: codebyanthony.com
12+
Mastodon: https://mastodonapp.uk/@aarblaster
13+
GitHub: https://github.com/aarblaster
14+
15+
Huge thanks to team BBEdit.
16+
-->
17+
18+
19+
20+
21+
22+
23+
<dict>
24+
<!-- Some required stuff. Inclyding a unique ID. -->
25+
<key>BBEditDocumentType</key>
26+
<string>CodelessLanguageModule</string>
27+
<key>BBLMLanguageDisplayName</key>
28+
<string>AppleScript BASIC</string>
29+
<key>BBLMLanguageCode</key>
30+
<string>aplB</string>
31+
32+
33+
<!-- File extension to apply to. -->
34+
<key>BBLMSuffixMap</key>
35+
<array>
36+
<dict>
37+
<key>BBLMLanguageSuffix</key>
38+
<string>.scpt</string>
39+
</dict>
40+
</array>
41+
<key>BBLMPreferredFilenameExtension</key>
42+
<string>scpt</string>
43+
44+
<!-- Spell Check? -->
45+
<key>BBLMCanSpellCheckCodeRuns</key>
46+
<true/>
47+
48+
<!-- Should syntax be coloured?,
49+
Obviously the answer is yes. -->
50+
<key>BBLMColorsSyntax</key>
51+
<true/>
52+
53+
<!-- Keywords to be coloured. -->
54+
<key>BBLMKeywordList</key>
55+
<array>
56+
<string>if</string>
57+
<string>then</string>
58+
<string>else</string>
59+
<string>end</string>
60+
<string>tell</string>
61+
<string>end tell</string>
62+
<string>application</string>
63+
<string>true</string>
64+
<string>false</string>
65+
<string>activate</string>
66+
67+
<!-- Add more keywords as needed -->
68+
</array>
69+
70+
<!-- Comment line-->
71+
<key>BBLMCommentLineDefault</key>
72+
<string>--</string>
73+
74+
<!-- Features of the language to use -->
75+
<key>Language Features</key>
76+
<dict>
77+
<key>Identifier and Keyword Character Class</key>
78+
<string>A-Za-z0-9_</string>
79+
<key>Open Line Comments</key>
80+
<string>--</string>
81+
<key>Open Strings 1</key>
82+
<string>"</string>
83+
<key>Close Strings 1</key>
84+
<string>"</string>
85+
<key>Escape Char in Strings 1</key>
86+
<string>\</string>
87+
<key>End-of-line Ends Strings 1</key>
88+
<false/>
89+
<key>Open Statement Blocks</key>
90+
<string>{</string>
91+
<key>Close Statement Blocks</key>
92+
<string>}</string>
93+
<key>Open Parameter Lists</key>
94+
<string>(</string>
95+
<key>Close Parameter Lists</key>
96+
<string>)</string>
97+
</dict>
98+
</dict>
99+
</plist>

BunchLanguage.plist

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,24 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.1">
44

5-
<!-- A tiny language to colour some keywords in
6-
Bunch files to make my life easier.
7-
Copyright Anthony Arblaster 2023 -->
5+
<!--
6+
BunchLanguage.plist
7+
8+
A codeless language to colour some keywords in Bunch files.
9+
10+
Copyright Anthony Arblaster 2023
11+
Web: codebyanthony.com
12+
Mastodon: https://mastodonapp.uk/@aarblaster
13+
Github: @aarblaster
14+
15+
Many thanks to the folks at (BBEdit)[https://www.barebones.com]
16+
Many thanks to Bret Terpstra for (Bunch)[https://bunchapp.co]
17+
18+
BBEdit v14.0.0 <
19+
-->
820

921
<dict>
10-
<!-- Some required stuff. Inclyding a unique ID. -->
22+
<!-- Some required stuff. Including a unique ID. -->
1123
<key>BBEditDocumentType</key>
1224
<string>CodelessLanguageModule</string>
1325
<key>BBLMLanguageDisplayName</key>

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
Custom BBedit Language Modules
33

44
## Requirements
5-
- BBedit v12 <
5+
- BBedit v14.0.0 <
66

77
## About
88
Some custom language modules for BBedit.
99
Mostly just to make modifying or viewing files easier.
1010
Modules include:
1111
- BunchLanguage for use with [Bunch.app files](https://bunchapp.co)
1212
Makes your editing of Bunch a touch easier to read.
13+
- AppleScript so you can edit those lovely AppleScripts outside of ScriptEditor.
14+
Just because that is nice sometimes.
1315

1416
## Useful Places
1517
- [The BBedit Languages Guide](https://www.barebones.com/support/develop/clm.html)

0 commit comments

Comments
 (0)