<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 9:37 AM, Tamay <span dir="ltr"><<a href="mailto:aykut.tamay@gmail.com" target="_blank">aykut.tamay@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div><div>Hello everybody,</div><div><br></div><div><div><div style="word-wrap:break-word"><div><div style="font-family:Helvetica;font-size:12px">I am a student from Germany in my masters working on robotics. Since I have no experience with LLVM I was wondering if it is possible to use LLVM to build a compiler or interpreter which translates/transforms the commands of the industrial robot language (IRL) into the open source C++ Robotics Library. The C++RL is used to control and navigate robots. The idea is to use the manufacturer-independent robot language (IRL) to make use of the functions and methods of the C++RL.</div></div><div style="font-family:Helvetica;font-size:12px">I have been searching now for a while but I could not find anything about it.</div><div style="font-family:Helvetica;font-size:12px"><br></div><div style="font-family:Helvetica;font-size:12px">I would be very glad and deeply thankful if somebody can help me or give me further advise on how to get started.</div><div><br></div></div></div></div></div></div>
<br>_______________________________________________<br></blockquote></div><br><br></div><div class="gmail_extra">You need to have a source to source translator :<br><br><br><a href="http://en.wikipedia.org/wiki/Source-to-source_compiler">http://en.wikipedia.org/wiki/Source-to-source_compiler</a><br><a href="http://en.wikipedia.org/wiki/Program_transformation">http://en.wikipedia.org/wiki/Program_transformation</a><br><a href="http://en.wikipedia.org/wiki/Category:Program_transformation">http://en.wikipedia.org/wiki/Category:Program_transformation</a><br><a href="http://en.wikipedia.org/wiki/Metacompiler">http://en.wikipedia.org/wiki/Metacompiler</a><br><br><a href="http://en.wikipedia.org/wiki/Category:Graph_rewriting">http://en.wikipedia.org/wiki/Category:Graph_rewriting</a><br><a href="http://en.wikipedia.org/wiki/Graph_rewriting">http://en.wikipedia.org/wiki/Graph_rewriting</a><br><br><a href="http://en.wikipedia.org/wiki/Category:Rewriting_systems">http://en.wikipedia.org/wiki/Category:Rewriting_systems</a><br><a href="http://en.wikipedia.org/wiki/Rewriting">http://en.wikipedia.org/wiki/Rewriting</a><br><br><br><br></div><div class="gmail_extra">If you have an open source interpreter of   Industrial Robot Language (IRL) , by using parts of  that interpreter  you can do the following ( If there is not such a program , you need to write one : Compiler Construction books have many examples about how to write such a program ) :<br><br><br></div><div class="gmail_extra">From a given Industrial Robot Language (IRL) "program" :<br></div><div class="gmail_extra"><br>Generate a C++ code program to use C++ Robotics Library corresponding to given IRL program , then by using Clang , compile this generated program to machine code .<br><br></div><div class="gmail_extra">I think , the shortest way to reach your goal would be above step .<br><br></div><div class="gmail_extra">By using the above pages and links found in them , you can find suitable programs to transform IRL to C++ .<br><br></div><div class="gmail_extra">It seems that IRL is DIN norm and it is used mainly in Germany , because a Google search is not producing an English application of it in the first search pages ( even it is not in English Wikipedia , but in Deutsche Wikipedia :<br><br><a href="http://de.wikipedia.org/wiki/Industrial_Robot_Language">http://de.wikipedia.org/wiki/Industrial_Robot_Language</a><br><br>) <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thank you very much .<br><br><br></div><div class="gmail_extra">Mehmet Erol Sanliturk<br><br><br></div><div class="gmail_extra"><br><br><br><br></div><div class="gmail_extra"><br><br></div></div>