Skip to content

Instantly share code, notes, and snippets.

@pareksha
Last active June 27, 2018 06:57
Show Gist options
  • Save pareksha/05d26d74c1e146c8b8882535729037a5 to your computer and use it in GitHub Desktop.
Save pareksha/05d26d74c1e146c8b8882535729037a5 to your computer and use it in GitHub Desktop.
from coalib.bearlib.languages.Language import Language
@Language
class Tcl:
aliases = 'Tcl/Tk',
versions = 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, 8.6
extensions = '.tcl',
comment_delimiter = '#'
string_delimiters = {'"': '"', '{': '}'}
multiline_string_delimiters = {'"': '"', '{': '}'}
encapsulators = {'(': ')', '[': ']', '{': '}', '[[': ']]'}
escape_quotes = '\"',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment