Skip to content

phoxd/Fam-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple tree defined as below should suffice for binary family tree.

data Tree a = Nil | Node a (Tree a) (Tree a)

Now we need a way to store and read text and transform it into Abstract Syntax Tree(AST). This can be done by reading sequence of items and turning them into complete binary tree using indexes 2*n+1 for left and 2*(n+1) for right, and vice-versa for storing the AST in linear fashion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published