sqrl-lang / sqrl

A safe, stateful rules language for event streams
Apache License 2.0
113 stars 11 forks source link

WebSQRL improments (syntax/functions and index page) #31

Closed qix closed 1 year ago

qix commented 1 year ago

Problem

The syntax highlighting as C++ is confusing since many things don't match up.

Solution

I added super basic SQRL highlighting. Eventually it should be in the main package but this is fine for now. I also added cleaned up the index page, and added autocomplete/hover for the function list.

Result

Function discovery now works via autocomplete, and it's got basic documentation!

There's a bug where this gets registered multiple times, I don't know the correct way of doing this with Monaco/React. @meyer ?

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3688307901


Totals Coverage Status
Change from base Build 3688049739: 0.0%
Covered Lines: 15779
Relevant Lines: 24079

💛 - Coveralls