Kaj de Vos Posted November 2, 2021 Author Share Posted November 2, 2021 Ah, thanks. That's the kind of feedback I need. Next up is an update of the underlying runtime in this executable. I will let you know when that is in place, so we can see if Windows and FreeBSD improve. Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 2, 2021 Author Share Posted November 2, 2021 1 hour ago, ilmenit said: compiler that can be used locally - at least for me it's a very poor workflow when to compile even "hello world" I need to send it to Internet. Do you program without an Internet connection? Quote Link to comment Share on other sites More sharing options...
danwinslow Posted November 2, 2021 Share Posted November 2, 2021 43 minutes ago, Kaj de Vos said: Do you program without an Internet connection? Well, I do of course, but I don't want to have to just to write programs. My opinion. Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 2, 2021 Author Share Posted November 2, 2021 I understand that, and I agree. It just won't be possible with Meta for a considerable time to come. Meta will achieve almost unprecedented platform reach soon, but the other side of that is that it needs many different, highly complex and hard to handle existing C toolchains. Quote Link to comment Share on other sites More sharing options...
danwinslow Posted November 2, 2021 Share Posted November 2, 2021 Well, if its a temporary situation, that's understandable. Your desire to cover many toolchains will keep you busy for a long time. Consider an adapter layer, something like maybe what LLVM does, meaning a universal intermediate compilation that then gets run through a particular adapter that would then express the correct source and drive the toolchain. Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 2, 2021 Author Share Posted November 2, 2021 Well, Meta is that adapter layer, and C is the intermediate language. Even if have already spent a large amount of time on Meta, it is still a limited intermediate layer between REBOL and C. Quote Link to comment Share on other sites More sharing options...
danwinslow Posted November 2, 2021 Share Posted November 2, 2021 Ok....well, you said "it needs many different, highly complex and hard to handle existing C toolchains". That was what I was talking about. If you got it covered design-wise already,, great. Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 2, 2021 Author Share Posted November 2, 2021 I am being greatly rewarded for implementing a C back-end, because I can use many great C toolchains and libraries. But there is a wide range of them, which is the point, so I still need to integrate them all. Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 2, 2021 Author Share Posted November 2, 2021 I have added a downloadable file of Hello World: https://language.metaproject.frl/#examples Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 4, 2021 Author Share Posted November 4, 2021 Added the Rainbow graphics example to the website: https://language.metaproject.frl/#examples Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 5, 2021 Author Share Posted November 5, 2021 On 11/2/2021 at 6:12 PM, drac030 said: I tried it on an AMD64 PC running FreeBSD 10.1. The result: illegal system call (core dumped). It turns out you need FreeBSD 12 or newer. Are you able to test on that? I worked out all the required versions and added them to the website: https://language.metaproject.frl/#get For those who tried on Windows: does Meta output text properly, or does the cursor in the command window not advance properly, so that text is overwritten? 1 Quote Link to comment Share on other sites More sharing options...
zbyti Posted November 5, 2021 Share Posted November 5, 2021 Ubuntu 18.04 ./compile.ape rainbow.meta Compiling file rainbow.meta % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 954 100 521 100 433 590 490 --:--:-- --:--:-- --:--:-- 1080 Result is in file program.xex works :] 1 Quote Link to comment Share on other sites More sharing options...
zbyti Posted November 5, 2021 Share Posted November 5, 2021 (edited) I tried Meta but failed. I didn't get very far without the Atari specific examples. One rainbow example is far too little. Try port this: https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8 https://github.com/KarolS/millfork/tree/master/examples/a8 https://github.com/zbyti/k65-playground/tree/main/src/a8 not all of them, of course, but those that are now been possible. Edited November 5, 2021 by zbyti Quote Link to comment Share on other sites More sharing options...
matosimi Posted November 5, 2021 Share Posted November 5, 2021 This language looks almost as good as BS https://github.com/BSLang/BS 2 Quote Link to comment Share on other sites More sharing options...
danwinslow Posted November 5, 2021 Share Posted November 5, 2021 C'mon now. It's his thread and his pet project. No need to get sassy, he's been perfectly polite to all questions and criticisms. 3 1 Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 5, 2021 Author Share Posted November 5, 2021 39 minutes ago, matosimi said: This language looks almost as good as BS https://github.com/BSLang/BS Doesn't run on Atari. Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 5, 2021 Author Share Posted November 5, 2021 1 hour ago, zbyti said: I tried Meta but failed. I didn't get very far without the Atari specific examples. One rainbow example is far too little. Currently fixing a regression that blocks the others. 1 hour ago, zbyti said: Try port this: https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8 https://github.com/KarolS/millfork/tree/master/examples/a8 https://github.com/zbyti/k65-playground/tree/main/src/a8 not all of them, of course, but those that are now been possible. I've been looking at those. It seems to me it's a nice task for you. ? Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted November 5, 2021 Share Posted November 5, 2021 1 hour ago, matosimi said: This language looks almost as good as BS I watched the video on BS and I must say I have to agree Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 6, 2021 Author Share Posted November 6, 2021 Added the inline assembly version of the Rainbow graphics example to the website, including comparisons with Millfork and K65: https://language.metaproject.frl/#examples 1 1 Quote Link to comment Share on other sites More sharing options...
zbyti Posted November 6, 2021 Share Posted November 6, 2021 (edited) Don't forget about Mad Pascal var RTCLOK : byte absolute $14; COLPF2 : byte absolute $D018; COLBK : byte absolute $D01A; WSYNC : byte absolute $D40A; VCOUNT : byte absolute $D40B; a : byte absolute $e0; begin repeat a := RTCLOK + VCOUNT shl 1; wsync := a; COLPF2 := a; COLBK := a; until false; end. ; --- RepeatUntilProlog l_0061 ; optimize OK (rainbow.pas), line = 11 lda VCOUNT asl @ add RTCLOK sta A ; optimize OK (rainbow.pas), line = 12 sta WSYNC sta COLPF2 sta COLBK ; optimize OK (rainbow.pas), line = 13 jmp l_0061 Edited November 6, 2021 by zbyti Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 7, 2021 Author Share Posted November 7, 2021 I couldn't find it. Is there a link to that? Quote Link to comment Share on other sites More sharing options...
zbyti Posted November 7, 2021 Share Posted November 7, 2021 it can be easily fixed @tebe please do your stuff :] Quote Link to comment Share on other sites More sharing options...
tebe Posted November 7, 2021 Share Posted November 7, 2021 https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/graph/rainbow.pas 1 1 Quote Link to comment Share on other sites More sharing options...
Kaj de Vos Posted November 7, 2021 Author Share Posted November 7, 2021 Thanks! I added it to the site. Also added the mixed Meta/assembly version: https://language.metaproject.frl/#examples 1 Quote Link to comment Share on other sites More sharing options...
drac030 Posted November 7, 2021 Share Posted November 7, 2021 On 11/5/2021 at 5:21 PM, Kaj de Vos said: It turns out you need FreeBSD 12 or newer. Are you able to test on that? No, and my own FreeBSD box is an i386, so even if I upgraded the system to 12+, it would not help much, I guess. But do not let it bother you, I am writing my stuff exclusively in assembler anyways and I prefer to do that directly on the target machine, so I am only marginally interested in high-level programming languages, the less if these are cross-compilers only. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.