473,386 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

I wrote a Pascal compiler in C++ and use it now !

C++ is only good for writing a compiler of a much superior language like Pascal.

So use your C++ to write a PASCAL compiler or BASIC and use this.
Jul 22 '05 #1
4 2301

"Hans-Marc Olsen" <ma************@yahoo.co.in> schrieb im Newsbeitrag
news:e1*************************@posting.google.co m...
C++ is only good for writing a compiler of a much superior language
like Pascal.
So use your C++ to write a PASCAL compiler or BASIC and use this.


I did: www.GLBasic.com

On the other hand: If you can write a compiler for Basic/Pascal in
C++, why would you use these instead of C++? If you know so much about
C++, it's easier and much more flexible to use C++ than higher level
languages...
My .02$
Jul 22 '05 #2

"Hans-Marc Olsen" <ma************@yahoo.co.in> wrote in message
news:e1*************************@posting.google.co m...
C++ is only good for writing a compiler of a much superior language like Pascal.
So use your C++ to write a PASCAL compiler or BASIC and use this.


So you admit at the foundation there will still be C++ ?

"Timothy Madden"
Romania
Jul 22 '05 #3
I demand that on Wed, 17 Nov 2004 23:22:15 -0800, Hans-Marc Olsen may or
may not have written:
C++ is only good for writing a compiler of a much superior language like Pascal.

So use your C++ to write a PASCAL compiler or BASIC and use this.


Well done. I remember doing PASCAL back in the 80's but I didn't pay too
much attention. At the time I was more infatuated with 6502 machine code
and being surprised how similar 8088 code was to it ;)

--
Jafar Calley
-----BEGIN GEEK CODE BLOCK-----
d+ s-:+ a C++++ L++ E--- W++ N++ w-- PE- t* 5++ R+ !tv D+ G e* h---- x?
------END GEEK CODE BLOCK------
Registered Linux User #359623
http://fatcat.homelinux.org

Jul 22 '05 #4
Hans-Marc Olsen mumbled:
C++ is only good for writing a compiler of a much superior language
like Pascal.

So use your C++ to write a PASCAL compiler or BASIC and use this.


We expect better trolling around here.

- J.
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Chris Gordon-Smith | last post by:
I am tying to call a Pascal function from C++, and vice versa. Does anyone know how to do this, or where detailed information on this topic can be found? For the C++ to Pascal call I have...
1
by: rod_oconor | last post by:
Hey, Im doing a project which invoves using a serial A/D converter, I have been given some C code in Pascal but i need this translated into C++ code in order to use it in the compiler that i...
28
by: Skybuck Flying | last post by:
Hi, I think I understand now a bit better what the difference is between a c compiler and a pascal compiler. For example: When compiling source code with a pascal compiler. The pascal...
6
by: kkrish | last post by:
hi, I am working on an old program written in c.The program uses a function like this "unsigned long int far pascal ReadFile(char *buff,unsigned long int *size)" . Is this a PASCAL...
5
by: dhruba.bandopadhyay | last post by:
I am trying to port an old Pascal DOS game to DOS C/C++. I am wondering if anyone is familar with the dos & crt Pascal units and whether there are C/C++ equivalent libraries. Maybe dos.c & crt.c? ...
6
by: Grey Squirrel | last post by:
On wednesday my company will have an open ended discussion whether to standardize hungarian notation or pascal/cammel case notation. We'd love to recieve some feedback on what other people are...
0
by: dhruba.bandopadhyay | last post by:
Am using Borland C++ 4.5 for the old dos.h APIs. It appears that newer versions of compilers stop support for the oldskool DOS routines. Am trying to convert/port an oldskool Pascal program that...
7
by: SMALLp | last post by:
Hy! I desperately need help! I need to make application that would accept Pascal code and check if it returns good results. My idea is (from a beginner point of view) to make application in...
54
by: Ruud | last post by:
Hallo allemaal, During the conversion of my program from Pascal to C, I was more or less able to find the C equivalent of most Pascal functions so far. Only four gave me some real trouble. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.