# lure

## Summary

LURE is an attempt to implement a html DOM parser and renderer for the Love2d game engine. The goal of LURE is to provide the following:

- A non-validating html parser which generates a (somewhat) W3C Standards complaint DOM Object for use with love.
- A html renderer which will display html markup in the love window.

Lure's purpose will NOT be to implement a web browser in Love2d, that is just ridiculous :D Instead, Lure's purpose will be to provide the core html DOM interfaces allowing Lovers the ability to to work with html data structures and to render basic html to the love window for simple UI.

## Download

Github

## Active Development

Status: In development

Last Stable: N/A

Development Tracker: Trello Board

## Bug Reports/Feedback

Please place bug reports and feedback on Github

## Articles/Tutorials

## Documentation

### Namespaces

Namespace | Description | Implemented
--- | --- | ---
lure | Lure Root Namespace | Yes
lure.core | Lure core namespace | Yes
lure.layers | Lure layers namespace | Yes
lure.dom | Lure Document Object Model namespace | Yes
lure.dom.css | Lure Document Object Model css namespace | Yes
lure.rom | Lure Render Object Model namespace | Yes
lure.rom.layout | Lure Render Object Model layout namespace | Yes

#### Lure Object Reference

Object | Description | Implimented
--- | --- | ---
LURE Window |  | yes
LURE Layer |  | yes

#### Lure DOM Object Reference

Objects present in this table are DOM objects currently planned for implementation. Not all W3C DOM objects will be implemented.

Object | Description | Implemented
--- | --- | ---
DOM HTMLEvent |  | No
DOM HTMLAnchor |  | No
DOM HTMLBody |  | No
DOM HTMLButton |  | No
DOM HTMLDiv |  | No
DOM HTMLForm |  | No
DOM HTMLImage |  | No
DOM HTMLInput Button |  | No
DOM HTMLInput Checkbox |  | No
DOM HTMLInput Hidden |  | No
DOM HTMLInput Password |  | No
DOM HTMLInput Radio |  | No
DOM HTMLInput Reset |  | No
DOM HTMLInput Submit |  | No
DOM HTMLInput Text |  | No
DOM HTMLLink |  | No
DOM HTMLOption |  | No
DOM HTMLSelect |  | No
DOM HTMLTable |  | No
DOM HTMLtd/th |  | No
DOM HTMLtr |  | No
DOM HTMLTextArea |  | No

#### Lure ROM Object Reference

The Lure ROM (Render Object Model) is comprised of all core render objects and methods to render a DOM model to the screen

Object | Description | Implemented
--- | --- | ---
ROM Viewport | The viewport object represents the root render object of the ROM model | Yes
ROM node | The ROM node object represents the base object most other ROM nodes inherit from | Yes
ROM nodelist | The ROM nodelist is used to maintain indexed lists of ROM Nodes | yes
ROM Nodeattribute | The Nodeattribute object maintains ROM Node attributes | Yes
ROM box | The ROM box object represents the base box render object | yes
ROM blockBox |  | yes
ROM inlineBox |  | yes
ROM inlineBlockBox |  | Partial
ROM lineBox |  | yes
ROM boxComputedStyle |  | yes
ROM boxRenderStyle |  | yes
ROM layoutResponse |  | yes
ROM namednodemap |  | yes
ROM romParser |  | yes
ROM textNode |  | yes

MORE TO COME!

Category:

- Libraries