Skip to content

lurchmath/lwp-example-complex

Repository files navigation

Lurch Web Platform, Complex Example Application

Actually, it's not complex. A better name might be "second example application," but since the first one was called "simple," this one had to be called complex by contrast. It remains one of the smallest uses of the Lurch Web Platform, provided as an example for others to imitate/customize when building applications on the same platform.

Visit the live app here. It has only a few features beyond ordinary word processing.

Example feature 1:

  • Highlight a section of text and click the red [ ] toolbar button.
  • You should see a group form, inside of which you can type expressions of basic arithemtic, such as 2+2.
  • After an artificial delay (which simulates lengthy background processing) you should see the answer appear.
  • As in the simple example app, groups are visible only when your cursor is inside them.

Example feature 2:

  • Highlight a few words of text and click the green ( ) toolbar button.
  • You should see an assessment of whether those words are a name.
  • Phrases like "John Smith" and "Mary Martinez" will be judged as names, but long or uncapitalized phrases will not.
  • Click the group tag, or right-click within the group, to see a popup menu with a few simple options.

Read the (heavily commented) code here:

  • App code for this specific example
  • HTML code that loads the platform and application

There is also a very simple build process.

About

Second example built on the Lurch Web Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published