[erlang-questions] Crazy Question: C -> Erlang Core
Steve Davis
steven.charles.davis@REDACTED
Mon Nov 10 20:19:50 CET 2008
This is the ultimate time-waster question, but interesting to consider
(or at least I think so).
Would it be possible to write a program (in erlang with yecc etc of
course) that transforms C source into Erlang Core and thus allows it
to compile to BEAM files? If not, suppose you put constraints on the
kind of C program you wrote (and I'm wondering what those might be)?
Ignore this if the question upsets you - I said it was crazy - also,
responses including the BIF open_port are disallowed by the rules ;)
/s
*ducks*
More information about the erlang-questions
mailing list