Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / A compiler idea

Author
Message
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Feb 2005 03:10
ok this has nothign to do with the dbpro compiler
they need a compiler using stringtables like dbpro except not having to have directx and all the compiler does is call dlls and all the editor does is read keyword files

the reason this would be useful:
this would be useful for people who make dlls and such but want it to all be in a nice and neat exe therefor makign a completely limitless compiler

has this been doen already cause if so then i could really use it

also any ideas or drawbacks that i havnet thought of post here

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 15th Feb 2005 04:38
lol, this is exactly what my Aphotic project does. Well, actually, there's more to it than just calling DLLs. There are things that need to be done internally, like math. Other than that, most of the stuff is in plugin DLLs (which don't have annoying string tables). To use a DLL as a plugin, you just need to make a declaration file, which is something like this:
[messagebox.dec]
msgboxOK;0;8
msgboxOKCancel;0;8
[EOF]

Here we tell the compiler that there are two functions in the DLL, and that they do not return any values, and they both expect 8 bytes in the stack as parameters (two string pointers, window name and text).

This will not be compiled, exactly. The Aphotic environment is a JITer, so the compiler will produce bytecode which will later on go through a binary translator, providing more portability. Thanks for making this thread, you've reminded me I have to update my sig.

AphoticVM status: 80% AphoticBasic status: 10%
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Feb 2005 04:55
wow i cant wait till u get ti done

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 15th Feb 2005 05:02
heh, then I'm sorry but you're gonna have to wait for quite a long time. Look at my updated sig.

AphoticVM status: 30% (Yes, that number just went down.) AphoticBasic status: 10%
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Feb 2005 06:26
hwo did it go down

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 15th Feb 2005 06:44
Well, I decided since I was making a JITer, I might as well make it a bit more usefull and fun. Here's a dev diary for it, if you want to see exactly what's going on...
http://www.ppcdesigns.com/yabbse/index.php?board=22;action=display;threadid=8

AphoticVM status: 30% (Yes, that number just went down.) AphoticBasic status: 10%
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Feb 2005 08:10
wow this is better than i thought
this uses a vm which is way good for portability
is the vm done or are u also workng on it

my avatar is working for the first time since free-space went down
http://hck83.tophernet.net (things are startign to look up)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 15th Feb 2005 08:19
Working on it. The actual VM is almost done, but there are core plugins that need a lot or work. Since most of the code is stuff I've done before in WarBasic, I don't hope to hit too many surprises along the way. The problem is I work from 8am to 6pm, and study from 7pm to 11pm. This doesn't leave much time for me to work on Aphotic.

AphoticVM status: 30% (Yes, that number just went down.) AphoticBasic status: 10%
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 15th Feb 2005 10:48
That's the basic idea I'd like to get for a compiler as well. Don't know if I'll ever get any serious work done on my interpreter until June->August(Summer Break) though.

So in the mean time, I'll just keep working on a plug-in for Aphotic. Would still like to make a basic graphics engine for you to use in Aphotic TKF15H. Start bugging me about it, and I'll get it done when you're ready for it.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 15th Feb 2005 18:06
Yay, I get to bug people to work! Sure I still need it. Now get back to work!!!

AphoticVM status: 30% (Yes, that number just went down.) AphoticBasic status: 10%

Login to post a reply

Server time is: 2024-11-11 23:54:24
Your offset time is: 2024-11-11 23:54:24