Skip to content

Instantly share code, notes, and snippets.

@jcmitchell
Last active December 9, 2015 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcmitchell/4322763 to your computer and use it in GitHub Desktop.
Save jcmitchell/4322763 to your computer and use it in GitHub Desktop.
ChoiceScript codeless language module for TextWrangler/BBEdit.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- ChoiceScript CLM for BBEdit and TextWrangler -->
<dict>
<key>BBEditDocumentType</key>
<string>CodelessLanguageModule</string>
<key>BBLMLanguageDisplayName</key>
<string>ChoiceScript</string>
<key>BBLMLanguageCode</key>
<string>ChSc</string>
<key>BBLMPreferredFilenameExtension</key>
<string>txt</string>
<key>BBLMCanSpellCheckCodeRuns</key>
<true/>
<key>BBLMColorsSyntax</key>
<true/>
<key>BBLMKeywordList</key>
<array>
<string>*allow_reuse</string>
<string>*author</string>
<string>*bug</string>
<string>*choice</string>
<string>*create</string>
<string>*delete</string>
<string>*disable_reuse</string>
<string>*else</string>
<string>*elseif</string>
<string>*elsif</string>
<string>*ending</string>
<string>*finish</string>
<string>*fake_choice</string>
<string>*gosub</string>
<string>*gosub_scene</string>
<string>*goto_scene</string>
<string>*goto</string>
<string>*gotoref</string>
<string>*goto_random_scene</string>
<string>*hide_reuse</string>
<string>*if</string>
<string>*input_text</string>
<string>*input_number</string>
<string>*image</string>
<string>*label</string>
<string>*line_break</string>
<string>*link</string>
<string>*more_games</string>
<string>*page_break</string>
<string>*print</string>
<string>*rand</string>
<string>*return</string>
<string>*scene_list</string>
<string>*script</string>
<string>*set</string>
<string>*setref</string>
<string>*share_this_game</string>
<string>*show_password</string>
<string>*stat_chart</string>
<string>*selectable_if</string>
<string>*temp</string>
<string>*title</string>
</array>
<key>BBLMCommentLineDefault</key>
<string>*comment </string>
<key>Language Features</key>
<dict>
<key>Identifier and Keyword Character Class</key>
<string>A-Za-z0-9_!#\*\$</string>
<key>Open Line Comments</key>
<string>*comment </string>
<key>Open Strings 1</key>
<string>#</string>
<key>End-of-line Ends Strings 1</key>
<true/>
<key>Open Strings 2</key>
<string>${</string>
<key>Close Strings 2</key>
<string>}</string>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment