On Sun, May 18, 2008 at 7:12 AM, john skaller
<[EMAIL PROTECTED]> wrote:
> Why fork it? Why not a single compiler with a switch?
Eventually I want to do that, but it's a lot easier to hack out all
the c++ stuff and replace it with llvm stuff. So, it's completely
incompatible. I didn't want my expe
On Sun, May 18, 2008 at 7:11 AM, john skaller
<[EMAIL PROTECTED]> wrote:
>> And do the declare if the string starts with @. That loses the ability
>> to write arbitrary text.
>
> Not if you change it to
>
>fun sin: double -> double :@ "sin";
>
> i.e. special syntax which invokes an llvm spe
On 18/05/2008, at 9:05 AM, Erick Tryzelaar wrote:
> I've started a fork of felix to modify our compiler's backend to
> target llvm instead of c++.
Why fork it? Why not a single compiler with a switch?
--
john skaller
[EMAIL PROTECTED]
On 18/05/2008, at 3:34 AM, Erick Tryzelaar wrote:
> On Sat, May 17, 2008 at 3:36 AM, john skaller
> <[EMAIL PROTECTED]> wrote:
>> No, we do just this for C. You do it like this:
>>
>> fun sin: float -> float = "sin($1)"
>> requires header "extern float sin(float);";
>>
>> or for llvm I guess:
>>