Skip to content

kuv2707/tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYNTAX

for the source file

refer to src.txt for the syntax.

for the live manipulation

the available commands are:

insert <new node's name>

node name should not contain any space

define <variable name> as <var value>

any space in variable's name or value will be ignored

enter <nodename >

the node must be a descendent of the current node.

undefine

undefine a variable

remove

remove a node and all its descendants

printself

prints the tree from the current node

save

save all the changes to the file

X

terminate the program

How to run

execute driver.java, passing the tree source file as a command line argument. If the tree source file is not specified, it defaults to src.txt.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages