pbreda Posted October 6, 2009 at 12:18 AM Report Share #290191 Posted October 6, 2009 at 12:18 AM Boas, gostaria de saber como é que hei de criar um compilador com a minha propria linguagem de script..... Cumprimentos..... Qualquer coisa esfrega a lampada!!!Visite Banco de Software e desfrute do software disponível xD Link to comment Share on other sites More sharing options...
fLaSh_PT Posted October 6, 2009 at 10:18 AM Report Share #290212 Posted October 6, 2009 at 10:18 AM Isso teria de escrever muito código de baixo nível (código maquina). E certamente VB.NET não seria o mais adequado porque ficaria com dependência do .NET, por este lado mais valia utilizar os métodos do .NET para compilar código .NET.. A melhor linguagem seria sem duvida C++ Comp. Making the impossible possible and pwing the world on db at a time. Link to comment Share on other sites More sharing options...
M6 Posted October 6, 2009 at 12:43 PM Report Share #290230 Posted October 6, 2009 at 12:43 PM Começa por aprender gramáticas formais e a leres o "livro do dragão": http://www.amazon.com/Compilers-Principles-Techniques-Alfred-Aho/dp/0201100886 Depois aconselho-te a aprenderes lex e yacc ou flex e bison (http://dinosaur.compilertools.net/) Isso deve dar-te uma boa base para começares. 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar." Link to comment Share on other sites More sharing options...
pbreda Posted October 7, 2009 at 10:20 AM Author Report Share #290406 Posted October 7, 2009 at 10:20 AM Ok obrigado.....vou ler e se tiver duvidas escrevo. Cumprimentos.... Qualquer coisa esfrega a lampada!!!Visite Banco de Software e desfrute do software disponível xD Link to comment Share on other sites More sharing options...
IceBrain Posted October 7, 2009 at 10:53 AM Report Share #290408 Posted October 7, 2009 at 10:53 AM O LLVM pode dar jeito: http://arstechnica.com/apple/reviews/2007/10/mac-os-x-10-5.ars/11#llvm https://www.youtube.com/embed/VeRaLPupGks?feature=oembed http://gnuu.org/2009/09/18/writing-your-own-toy-compiler/ http://llvm.org/docs/tutorial/ ❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents A list of command line apps Link to comment Share on other sites More sharing options...
pbreda Posted November 13, 2009 at 03:25 PM Author Report Share #295992 Posted November 13, 2009 at 03:25 PM Vou analisar o que me foi apresentado..... Cumprimentos... Qualquer coisa esfrega a lampada!!!Visite Banco de Software e desfrute do software disponível xD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now