I have a python function that takes a string s-expression like \"(add (sub 10 5) 5)\", where \"add\" and \"sub\" are actually image processing functions, and evaluates and creates the image represente
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I was trying to parse simple Lisp/scheme-like code E.g. (func a (b c d) ) and build a tree from it, I could do the parsing in C without usin开发者_运维知识库g bison (i.e, using only
What is a good way to evaluate the (+ 100 (+ 100 100)) part in (+ (+ 1 2) (+ 10开发者_如何转开发0 (+ 100 100)))
I want to write C in s-expressions and use compile-time macros. Does anybody know of anything that does this? It should translate the s-expressions into st开发者_如何学Pythonandard C.