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

adrianghub/ast-to-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 😎

About

ast to html converter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published