Skip to content

Latest commit

 

History

251 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAGL

"Yet Another Graph Language"

This repository contains a compiler that was developed for the YAGL language. YAGL was invented with the intention of making it easier to write & code graph algorithms, which are so pervasive in computer science.

Below is an example program written in YAGL. Please checkout the repo for more examples in 4115_project/final_demos.

import stdgraph.ygl

Graph example;
Node n(gen_name("1"));
Node n2(gen_name("2"));

example: + n + n2, n -> n2 -> n;

print_graph_lib(example);

String gen_name(String n) {
	String hidden = "ODE";
	String total = "";
	{
		String hidden = "N";
		total = total + hidden;
	}
	return total + hidden + n;
}

About

A compiler for a graph-based language.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages