aardappel / lobster

The Lobster Programming Language
http://strlen.com/lobster
2.25k stars 119 forks source link

Add link to syntax file for lite-xl editor #143

Closed franko closed 3 years ago

franko commented 3 years ago

I am the author of Lite XL, an lightweight editor for programmers derived from rxi/lite.

I am beginning to explore the Lobster programming language and up to now I find it really amazing. Thank you for developing such a refreshing, simple and yet efficient programming language.

I wrote a syntax support file for the Lobster language to be used with Lite XL. It can be found now in the Lite XL plugins page.

It was quite easy to implement. Here a screenshot of a code sample:

image

I decided to highlight if, else, while and for as keywords even if they are not because they implement basic control flow structures.

Thank you!

PS: I think in the Lobster Language Reference page you forgot to include fn among the keywords.

aardappel commented 3 years ago

Thanks for the kind words :)

Cool you're continuing the work of Lite, the syntax highlighting looks good! Linked to your editor from the docs, see https://github.com/aardappel/lobster/commit/1a3634fbc486971c9dc105b7dd6539e359bd3a1d

What about running code from the editor, showing output, and highlighting / jumping to errors? :)

Also fixed the missing fn :)

franko commented 3 years ago

Cool you're continuing the work of Lite, the syntax highlighting looks good! Linked to your editor from the docs, see 1a3634f

Thank you, I am proud to have the Lite XL name on the Lobster page!

What about running code from the editor, showing output, and highlighting / jumping to errors? :)

For this there is the console plugin of our grand master, rxi. I have just adapted the plugin for Lite XL, it can be found here:

https://github.com/franko/console

franko commented 3 years ago

No reason, to keep this open. Thank you.