Skip to content

incognitojam/jam001

 
 

Repository files navigation

Browser Jam

Entry for the first Browser Jam.

  • tokenizing
  • parsing (wip)
  • rendering

Output so far...

Tree: HTMLDocument(root:
<HTML>
  <HEADER>
    <TITLE>
      The World Wide Web project
  <BODY>
    <H1>
      World Wide Web
    The WorldWideWeb (W3) is a wide-area
    <A NAME=0 HREF="WhatIs.html">
      hypermedia
    information retrieval initiative aiming to give universal access to a large universe of documents.
)

Parser TODO

  • ignore extraneous </A> closing tag
  • close unclosed tags (random <P>)

Build

Uses Swift 6.0 snapshot

Ubuntu / WSL2

sudo apt install libglfw3-dev libglfw3 xorg-dev

Troubleshooting

MESA: error: ZINK: failed to choose pdev

Install latest stable Mesa drivers

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt upgrade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.6%
  • Swift 1.2%
  • HTML 0.2%