Skip to content

This repo contains a proof of concept for a redesign of the gosub engine. We try to fix some problems we are facing with the current architecture, which hopefully we can fix with a new and better design.

Notifications You must be signed in to change notification settings

gosub-io/engine_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository holds a concept of the gosub_engine in a new form. It should relieve the painpoints of the current engine with traits / generics and a more modular design. The goal is to have a more flexible engine that can be extended more easily.

TODO / Test cases we need to cover:

  • add node structure
  • add different node types: Document, Element, Text, Comment, DocumentType
  • add document structure
  • add arena (with node_ids)
  • add css node structure
  • add css document tree
  • allow user to add nodes to DOM, build a document with a DocumentBuilder
  • allow user to parse a html5 string and return (random) nodes in a DOM document from it.
  • attach CSS stylesheets to the DOM
  • let user query the DOM for nodes
  • let user query the DOM for nodes with a specific CSS selector
  • allow user that adds an attribute to a (element) node automatically set the named_ids in the document.
  • allow user to modify node data from document element (don't know it this is needed / feasable)
  • add document task queue
  • Allow callers to update attributes in nodes in an efficient way
  • allow user to retrieve info from the node from its element data (like node_id, doc_handle)

About

This repo contains a proof of concept for a redesign of the gosub engine. We try to fix some problems we are facing with the current architecture, which hopefully we can fix with a new and better design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages