agarsev / borjes-react

A library for displaying Borjes objects as React components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Borjes-react

A library for displaying borjes objects as React components.

It allows for easy visualization and point-and-click editing of AVMs, type lattices, parse trees, and other such objects common in unification-based grammatical formalisms.

Screenshots

Some example screenshots (I know they are not proper linguistics, just a demo! ;)

Visualization of grammatical objects

An example of the edit view

Usage

See test/main.jsx for a quite complete example.

As a modern javascript module:

import { Component as BorjesComponent,
    ProtoLattice as BorjesProtoLattice
} from "borjes-react";

ReactDOM.render(<BorjesComponent x={avm} />, document.getElementById('app'));

As a commonjs module:

var BorjesReact = require('borjes-react');

ReactDOM.render(<BorjesReact.Component x={avm} />, document.getElementById('app'));

About

A library for displaying Borjes objects as React components

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 91.1%Language:CSS 6.8%Language:Makefile 1.2%Language:HTML 0.9%