diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..eaba13f --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,13 @@ +ex1_e: + ../plug -f ex1.txt -d hw 'hello world' -g hw + cat ex1.txt +ex1_c: + ../plug -f ex1.txt -u hw + cat ex1.txt + +ex2_e: + ../plug -f ex2.cpp -d code ' puts(hello world);' -g code + cat ex2.cpp +ex2_c: + ../plug -f ex2.cpp -u code + cat ex2.cpp diff --git a/examples/ex1.txt b/examples/ex1.txt new file mode 100644 index 0000000..657f967 --- /dev/null +++ b/examples/ex1.txt @@ -0,0 +1,3 @@ +original text +#placeholder COLLAPSED +some more original text diff --git a/examples/ex2.cpp b/examples/ex2.cpp new file mode 100644 index 0000000..e3d9321 --- /dev/null +++ b/examples/ex2.cpp @@ -0,0 +1,5 @@ +#include +signed main(){ + // #placeholder COLLAPSED + return 0; +}