Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1000 Bytes

README.md

File metadata and controls

41 lines (24 loc) · 1000 Bytes

Alt Img

Requirements

OCaml
C++11

Sample Output

Alt text

Steps to Run:

  • Navigate to the src/ folder

cd src

  • Run the make file

make

  • Run the program, .svg is created

./plt /path_to_your_program.plt

  • Open the svg (hello.svg) file in a browser to view

If you intentionally want to do it the long way:

  • Write a program in plotter and save it as <program_name>.plt

  • Compile the plt program to generate a C++ program

./plotter < <program_name>.plt > <program_name>.cpp

  • Compile the C++ program

g++ -std=c++11 prg_name.cpp

  • Run the executable which then generates a SVG 'hello.svg' as output

./a.out

  • Open the svg file (hello.svg) in a browser to view

Logo Designed by Sriram Govindasamy (@Sriram3056)