Comment

Comment by espadrine

> it looks like this is a GitHub-aware/integrated text editor that targets both desktop (Mac, at least) and web

I can confirm, from looking at the code.

It uses CSS / LESS for highlighting, and CoffeeScript for client-side programming (eg, the fuzzy completion[0], or the autocompletion).

The surprising part is that the editor doesn't seem to be a fork of either Ace or CodeMirror, the two big guys in the field. The highlighters (ie, syntax files) are in CSON. Ace is probably the closest, but it uses a completely different structure[2].

A negative impact of that is the low number of syntax files. However, there seems to be a 1-to-1 equivalence to tmLanguage (TextMate) syntax files[3].

[0]: https://github.com/atom/fuzzaldrin/blob/master/src/filter.co...

[1]: https://github.com/atom/language-toml/blob/master/grammars/t...

[2]: https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/asci...

[3]: https://github.com/textmate/toml.tmbundle/blob/master/Syntax...

parent espadrine 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton