8000 GitHub - Crussado/SetInterpreter: An interactive set interpreter.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crussado/SetInterpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 A36A  

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SetInterpreter

An interactive set interpreter. Made in C using hash table and interval trees.

Compile and Execute

  • make
  • Execute 'programa'.

Commands

Respect the spaces. Can define set with:

  • By comprehension: alias = {x_{0},x_{1},...,x_{n}}
  • By extension: alias = {x : k_{0} <= x <= k_{1}} Can operate sets with:
  • Union: alias_{1} = alias_{2} | alias_{3}
  • Intersection: alias_{1} = alias_{2} & alias_{3}
  • Subtraction: alias_{1} = alias_{2} - alias_{3}
  • Complement: alias_{1} = ~alias_{2}

Print sets with: imprimir alias

Exit: salir

About

An interactive set interpreter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0