News for hackers. Stuff that matters.
Re:Implementing Scheme in F# by adi92 on Sunday January 17, 2010 @11:53AM (#1058593)
are all languages implementable in every other language?
Re:Implementing Scheme in F# by profquail on Sunday January 17, 2010 @12:04PM (#1058613)
Nope. For example, you can't parse HTML or source code with a regular expression, because of limitations on how the language itself works (it doesn't have the ability to parse nested structures).

However, in practice, most common programming languages can be used to implement other programming languages...it's just a matter of how much/little code you're going to need to write to do it. Using this article as an example, it would be much easier to implement Scheme in F# than it would be in C#, due to some features of the F# language.

Re:Implementing Scheme in F# by DougBTX on Sunday January 17, 2010 @12:32PM (#1058650)
Re:Implementing Scheme in F# by chancho on Sunday January 17, 2010 @03:37PM (#1058911)
From that wikipedia page: "The untyped lambda calculus is Turing-complete, but many typed lambda calculi, including System F, are not."

Anyone have any details about System F not being turing complete? Is it not straightfoward to implement an untyped lambda calculus in a typed one?