Toxaris / pts

Interpreter for functional pure type systems.
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

Don't hardcode keyword list in emacs mode? #140

Open Blaisorblade opened 9 years ago

Blaisorblade commented 9 years ago

Maybe that's overengineering, but right now both lists need to be kept in sync — and unlike most usual languages (where this duplication exists and it's OK enough), this keyword list does evolve.

As discussed in https://github.com/Blaisorblade/pts/commit/3d98ef51b6d719256c9cff85bab6aac4e19dcac0#commitcomment-9674996:

the emacs mode could ask PTS for the list of keywords. It already asks for the list of languages, so that code could be used as a template.