HalosGhost / pandabin

A self-hostable, simple and fast pastebin written in C
GNU General Public License v3.0
3 stars 0 forks source link

C Shim for GNU source-highlight #7

Open HalosGhost opened 7 years ago

HalosGhost commented 7 years ago

9's option for lexing/highlighting a paste will depend on calls to source-highlight (which is written in C++). We will need to make a small C shim for it so that we can sanely call into it.

buhman commented 6 years ago

What's wrong with just compiling pandabin as C++, but not using C++ features? On the other hand, are you sure you want a transitive dependency on boost?

HalosGhost commented 6 years ago

Because it's not C++ and I'm not familiar enough with C++ to deal with the fact that C++ is not a superset of C. So C it shall be. :)