lol
29 Replies - 33903 Views - Last Post: 12 August 2010 - 11:03 AM
#16
Re: How to make your own Programming language ?
Posted 17 November 2008 - 06:59 AM
#17
Re: How to make your own Programming language ?
Posted 01 December 2008 - 10:46 PM
gabehabe, on 13 Nov, 2008 - 01:07 PM, said:
It's funnier because you can still see where you didn't crop the corners properly. 
Future reference: gabehabe~ All lower case. See, this is why I don't call any more.
EDIT: also looks like someone went a little crazy with the clone tool in PS. no2, did you do that, or was it that shoddy when you found it?
Future reference: gabehabe~ All lower case. See, this is why I don't call any more.
EDIT: also looks like someone went a little crazy with the clone tool in PS. no2, did you do that, or was it that shoddy when you found it?
testings
#18
Re: How to make your own Programming language ?
Posted 03 December 2008 - 09:47 AM
this makes no sense ???
can anyone answer my Question .
can anyone answer my Question .
#19
Re: How to make your own Programming language ?
Posted 06 December 2008 - 07:55 AM
...It's already been answered.
Compiler theory. No offence, but I wouldn't say you're ready for it yet.
Heck, I don't think I'm ready for it. But I've got two books on the way.
I'll blog about it soon.
Compiler theory. No offence, but I wouldn't say you're ready for it yet.
Heck, I don't think I'm ready for it. But I've got two books on the way.
I'll blog about it soon.
#20
Re: How to make your own Programming language ?
Posted 08 December 2008 - 06:45 AM
oh allright...
#21
Re: How to make your own Programming language ?
Posted 12 December 2008 - 03:06 PM
how to make your own programming language.....
1) Start with a Turing Machine
2) Abstract
3) repeat 2 until you have something that looks like an unholy child of english and algebra
note that your mileage may vary
-Jerome
1) Start with a Turing Machine
2) Abstract
3) repeat 2 until you have something that looks like an unholy child of english and algebra
note that your mileage may vary
-Jerome
#22
Re: How to make your own Programming language ?
Posted 12 December 2008 - 03:34 PM
#23
Re: How to make your own Programming language ?
Posted 18 December 2008 - 07:02 AM
can someone grab me a link to a good book ?? please
#24
Re: How to make your own Programming language ?
Posted 18 December 2008 - 10:30 AM
The two that I've got are awesome.
Modern Compiler Implementation in C
Compliers: Principals, techniques and tools. (aka the dragon book)
Modern Compiler Implementation in C
Compliers: Principals, techniques and tools. (aka the dragon book)
#25
Re: How to make your own Programming language ?
Posted 01 January 2009 - 06:34 AM
Before reading a book on compilers or even interpreters, I would suggest a book on Programming Language Design and Theory. A lot of thought must go into designing your language before you begin to start implementing a compiler for it like types, paradigm, abstraction levels, basic data structures.
I would suggest (if you really want to put in hard work) to read a minimal language like Scheme first. From there read a language theory book and make choices about the design of your language. See whether you want to make it Turing Complete, whether you want to have support for lambda's. And then only proceed with making a prototype of it.
I would suggest (if you really want to put in hard work) to read a minimal language like Scheme first. From there read a language theory book and make choices about the design of your language. See whether you want to make it Turing Complete, whether you want to have support for lambda's. And then only proceed with making a prototype of it.
#26
Re: How to make your own Programming language ?
Posted 29 January 2009 - 04:36 AM
ok ty
#27
Re: How to make your own Programming language ?
Posted 31 January 2009 - 08:44 AM
that is so funny but im curious though about how to create an interpreter
#28
Re: How to make your own Programming language ?
Posted 12 February 2009 - 03:21 AM
?
#29
Re: How to make your own Programming language ?
Posted 10 August 2010 - 09:20 AM
A simple and naieve interpreter would be fairly straight forward to write. I would use Flex for tokenizing and Bison for parsing.
Have the parser generate an Abstract Syntax Tree. Finally, walk the AST, executing code as you go. Fairly straight forward although horrible for performance (that's how Ruby 1.8 and 1.9 do it)
Have the parser generate an Abstract Syntax Tree. Finally, walk the AST, executing code as you go. Fairly straight forward although horrible for performance (that's how Ruby 1.8 and 1.9 do it)
#30
Re: How to make your own Programming language ?
Posted 12 August 2010 - 11:03 AM
I was going to suggest Bison as a starting point as well.

New Topic/Question
Reply




MultiQuote










|