[LLVMdev] Dynamic typing

Jon Harrop jon at ffconsultancy.com
Sat May 2 17:12:55 PDT 2009


On Saturday 02 May 2009 19:47:30 Thomas Gatzweiler wrote:
> Hello,
>
> I've spent many time trying to find a solution but I have no idea how to
> create a dynamically typed scripting language like Python and Ruby with
> LLVM.
> Is there any way to realize this?

Sure. Just box all values and put run-time type tests everywhere when they are 
unboxed.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e



More information about the llvm-dev mailing list