Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (24 loc) · 1.52 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.52 KB

Practice project "Abstract Syntax Trees (AST)"

Imagine this scenerio. There is this time in in your working team when you're trying to figurying out how to make HTML<->AST converter, built in order to handle object representation of HTML, applicable with the framework configuration. One person from your team has written the first part of this converter, which converts HTML to AST. You're responsible for reverse this process.

Create module which exports function convertASTToString. As a parameter function should take object representation of HTML fraction (Abstract Syntax Tree). Output should returns fraction of the HTML converted to string.

Layout of the built converter.

Table of contents 📔

Technologies

  • HTML5
  • CSS3
  • Javascript

How to run 🔥 🔥 🔥

  1. Clone this repo https://github.com/AdrianGHub/AST-to-HTML-Converter.git

  2. Make sure you have Node.js with npm from nodejs.org or via nvm | n

  3. Install parcel bundler :

npm install -g parcel-bundler

  1. Localize your directory with project and run following command :

parcel index.html

  1. Open website on localhost with index.html file displayed.

  2. Have fun! 😎