PDA

View Full Version : SibVRV Fast Compiler (Pascal Language)



www.sibvrv.com
19-08-2007, 01:27 PM
http://www.sibvrv.com/images/small_svfcp_1.jpg

first simple version of compiler for linux/windows. opengl demos included... to compile start in windows "makegl.bat" in linux "makegl"

searching asm/pascal developers to finish compiler... any info plz send to my email : support@sibvrv.com

Web: www.sibvrv.com
Download (25 sept 2007): http://www.sibvrv.com/svfpc.rar

www.sibvrv.com
19-08-2007, 01:55 PM
web site : www.sibvrv.com

JernejL
19-08-2007, 02:51 PM
images don't show up?

www.sibvrv.com
19-08-2007, 02:57 PM
images don't show up?
fixed! thanks :)

JernejL
19-08-2007, 09:12 PM
The car demo is pretty good, no sources for that? btw, you forgot an EXIT key in the cars demo.

arthurprs
19-08-2007, 09:41 PM
What is this suposed to be ?

I don't understand :?

JernejL
19-08-2007, 10:29 PM
From what i see it, it seems to be pascal compiler written in MASM.

dmantione
20-08-2007, 08:37 AM
Why assembler? A compiler needs well over a decade to mature and the chance that computers (either soft- or hardware) change over time is likely. We are in the middle of a migration to x86_64, making MASM assembler code become obsolete quickly. The Virtual Pascal debacle should have learnt us.

VilleK
20-08-2007, 02:10 PM
I don't think it is written in assembler. Rather it is a compiler that outputs asm-source, so that a second pass of calling the assembler is needed to produce an binary executable.

It would be interesting to know how large a subset of Pascal the compiler supports. As far as I can tell there is absolutely no documentation at the moment :)

www.sibvrv.com
20-08-2007, 02:37 PM
I don't think it is written in assembler. Rather it is a compiler that outputs asm-source, so that a second pass of calling the assembler is needed to produce an binary executable.

yes my compiler generate asm source, it is one of the easy way to control quality of compiler and it is a one of easy way to make crossplatform compiler, i have a lots of ideas but i searching developers who can really help to make good and fast compiler.
now i trying make it for KolibriOS (http://kolibrios.org/).

VilleK
20-08-2007, 04:56 PM
I would be interested in helping, but I have too many other projects at the moment. In particular I'm always interested in pascal-compilers that can generate exe-files smaller than FPC and Delphi. Right now I'm using Delphi + KOL System unit replacement to for making small exe-files.

www.sibvrv.com
20-08-2007, 06:51 PM
I would be interested in helping, but I have too many other projects at the moment. In particular I'm always interested in pascal-compilers that can generate exe-files smaller than FPC and Delphi. Right now I'm using Delphi + KOL System unit replacement to for making small exe-files.

Real problen in Delphi and C++ is speed of result code. sometimes ultra slow.
programs created in asm have speed up ~ > 10%-5000% and size much smaller than equal in delphi and c++.

JernejL
20-08-2007, 07:05 PM
I would be interested in helping, but I have too many other projects at the moment. In particular I'm always interested in pascal-compilers that can generate exe-files smaller than FPC and Delphi. Right now I'm using Delphi + KOL System unit replacement to for making small exe-files.

Real problen in Delphi and C++ is speed of result code. sometimes ultra slow.
programs created in asm have speed up ~ > 10%-5000% and size much smaller than equal in delphi and c++.

i thought asm is machine code.. hand crafted x86 beats any compiler, but doing that on a 64 bit cpu is overkill, you can't beat teh compiler there with all the registers and stuff.

arthurprs
20-08-2007, 07:20 PM
I would be interested in helping, but I have too many other projects at the moment. In particular I'm always interested in pascal-compilers that can generate exe-files smaller than FPC and Delphi. Right now I'm using Delphi + KOL System unit replacement to for making small exe-files.

What is KOL system unit ?

Robert Kosek
20-08-2007, 07:43 PM
What is KOL system unit ?Key Objects Library (http://kolmck.net/), a replacement "System" unit to make applications smaller, etc.

arthurprs
20-08-2007, 08:11 PM
What is KOL system unit ?Key Objects Library (http://kolmck.net/), a replacement "System" unit to make applications smaller, etc.
Favorited, thx =]

wodzu
21-08-2007, 07:59 AM
I am wondering why you started a new pascal compiler instead of joining FPC team and help them to make FPC?

www.sibvrv.com
26-08-2007, 10:28 AM
I am wondering why you started a new pascal compiler instead of joining FPC team and help them to make FPC?

i created new one because i trying to make it independed.
1. syntax check and analize code.
2. make logic and structures.
3. translate code to other platforms.
4. save result as asm or c++ or some else to compile it on other platforms.

:)

WILL
26-08-2007, 01:02 PM
Tells ya what? Why don't you add MIPS? :) It would then have an edge of it's own...

btw, have you read 'Let's Build a Compiler' by Jack Crenshaw?

http://compilers.iecc.com/crenshaw/

Robert Kosek
26-08-2007, 01:06 PM
Huh! MIPS (http://www.definethat.com/define/1730.htm) sure looks to be handy, even though I had to look it up. :P Add that and you'll sure get me looking a little more closely. Especially if you support 90% of the Object Pascal standards over time!

JSoftware
26-08-2007, 01:10 PM
Are you actually making a compiler or just a script engine?

I seriously think there's a dire need for an 8bit compiler these days. Your only choice today is between different versions of C compilers if you need to program an avr or pic processor.

And I'm drunk as ****

WILL
26-08-2007, 01:27 PM
Well here is a list of platforms you'd be looking at for the MIPS alone:

Nintendo 64: MIPS R4300i-based NEC VR4300 @ 93.75 MHz (link (http://en.wikipedia.org/wiki/Nintendo_64#Hardware))

Playstation: R3000A-compatible (R3051) 32bit RISC chip running at 33.8688 MHz (link (http://en.wikipedia.org/wiki/PlayStation#Technical_specifications))

Playstation 2: MIPS R5900 CPU core, 64 bit (link (http://en.wikipedia.org/wiki/PlayStation_2#Technical_specifications))

Playstation Portable: MIPS R4000-based CPU 333MHz (was 222MHz) (link (http://en.wikipedia.org/wiki/PlayStation_Portable#Technical_specifications))


Tons more info for the MIPS is available here: Wikipedia Article on MIPS (http://en.wikipedia.org/wiki/MIPS_architecture)

www.sibvrv.com
27-08-2007, 05:28 AM
thx for good information :)

GendoIkari
12-10-2007, 11:24 AM
i thought asm is machine code.. hand crafted x86 beats any compiler, but doing that on a 64 bit cpu is overkill, you can't beat teh compiler there with all the registers and stuff.

I really dont understand this statement. Programming assembly amd64 is so much easier than intel x86 one. Amd64 cpus have lots of new general purpouse registry, have transparent 64bit implementation, have all what a programmer could want. Why do you think is "overkill"?

JernejL
12-10-2007, 07:32 PM
I really dont understand this statement. Programming assembly amd64 is so much easier than intel x86 one. Amd64 cpus have lots of new general purpouse registry, have transparent 64bit implementation, have all what a programmer could want. Why do you think is "overkill"?

overkill is, when you try to keep track of all the new registers trying not to screw up your asm code, you can't beat compilers at that.

JSoftware
15-10-2007, 06:16 PM
Hey SibVRV, your email doesn't work

www.sibvrv.com
31-10-2007, 05:44 PM
25 sep 2007 i have uploaded to site new version and show it to all friends, but now i want to show it to all )
http://www.sibvrv.com/svfpc.rar

~700kb

my email support@sibvrv.com working fine but some times i can delete mails as spam )) because ~500-1000 messages per day.

my ICQ 131220029

http://www.sibvrv.com/images/svfpc_001.jpghttp://www.sibvrv.com/images/svfpc_002.jpg

JernejL
31-10-2007, 06:33 PM
do you have sort of compiler datasheet of things it supports compared to delphi or fpc?

www.sibvrv.com
01-11-2007, 04:28 AM
Delfi, what do you mean ?

VilleK
01-11-2007, 07:47 AM
The screenshot looks very interesting, I must try this when I have some time.

What language features are supported compared to Delphi/Freepascal? Because you are not 100% compatible right?

WILL
01-11-2007, 08:05 AM
I think he means something like this: http://www.codegear.com/article/34372/images/34372/Delphi_Win32_Datasheet_v4.pdf

However, I think you'd want something a bit more technical than a list of 'doodads' and visual features that come packaged and have nothing to do with the compiler or it's capability and performance as one. ;)

WILL
01-11-2007, 08:14 AM
Oops, my mistake! A useful list of features does exist, but it was listed under 'Feature Matrix' instead: http://www.codegear.com/article/34372/images/34372/delphi-2007-fm.pdf

I think this is what Delphi was asking for. I would like the others compare it to the other existing ones (for now) just as you are developing to get a sense of where you are taking the compiler from a design perspective.

Since it is new, these first few years of development will define the focus on technology you use and in turn it's purpose if taken into popular use. :)


And for those that think this might be a redundant effort; Remember that FPK-*ahem*-Free Pascal was originally made as a fun 'hobby' project by Florian Kl?§mpfl several years ago. ;)

dmantione
01-11-2007, 10:07 PM
The more compilers the better. However, it doesn't make sense to copy a compiler, but rather to specialize your compiler. I.e. during the first years FPC did provide 32-bit computing power, something not possible with BP. Later, the focus did shift to cross platform development, not possible with Delphi.

If you specialize your compiler, and on the other hand make code exchange between compilers easy, it will grow.