Skip to content
This repository has been archived by the owner on May 27, 2018. It is now read-only.
/ tdl-coloring Public archive

⚛ Atom package that adds simple support for TDL (Type Description Language) syntax as described in Copestake 2002

License

Notifications You must be signed in to change notification settings

lemontheme/tdl-coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDL-coloring ( ⚛ package)

Atom package that adds basic support for TDL (Type Description Language) syntax. This means accurate syntax highlighting/font locking when editing DELPH-IN-style .tdl and .mtr files, provided the conventions described in Implementing Typed Feature Structures (Copestake 2002) are followed.

Note to users

This package was thrown together in an afternoon and has been refined (lazily, and to the best of my ability) based on my own needs while working within a predominantly LinGO Matrix-based framework. Should you encounter unexpected or annoying behaviour, yet wish to eschew Emacs (in spite of the all-powerful tdl-mode Emacs package that ships with all standard LKB installations), feel free to leave a suggestion anywhere on this repository. Other contributions are of course welcome, too! :)

The [ <-- space --> FEATURE gotcha

In order for the regex parser to work properly, opening square brackets are required to be seperated from enclosed feature names by one or more spaces. This may be changed in a future update, although there's no ignoring that it does have the happy side-effect of making grammar descriptions easier to read.

Screenshots

NB: Frustratingly easy to forget yet essential to successful compilation, commas and periods are now highlighted as well.

dark light

About

⚛ Atom package that adds simple support for TDL (Type Description Language) syntax as described in Copestake 2002

Resources

License

Stars

Watchers

Forks

Packages

No packages published