Monday, October 13, 2008

Code prettyfier

Just played with a Google's code prettify and after following these advices and these, code highlighting is available here too.

Let we see what it can make...

/*
* some C/C++ code
*/
class Foo {
private:
// nothing
public:
// nothing
};

void baz(void) {
/* nothing too */
}


Some python code:

# a comment
def foo():
print "bla"


And scheme code:

(define (func a b)
(+ a b))


Looks like it works :)

1 comment:

Anonymous said...

Python...Did you know FLTK has Python bindings, called PyFLTK?
That gives possibilities to give edelib Python bindings. I'm not so fond of Python myself (I <3 C++), but it will attract a lot of app programmers to EDE.