Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two tests #1

Open
veelo opened this issue Jan 20, 2018 · 0 comments
Open

Two tests #1

veelo opened this issue Jan 20, 2018 · 0 comments

Comments

@veelo
Copy link

veelo commented Jan 20, 2018

Hi, I found two examples on ideone, that may come in handy (don't know their origin):

https://ideone.com/uLETKz
https://ideone.com/OZwwiU

Also, if you come across code that you think adheres to the standard but fails on gpc, I can test it using the Prospero Extended Pascal compiler if you are interested.

Further: I work for a small company sitting on a very large Prospero EP code base. They are looking for ways to port their code to another compiler or language, now that Prospero has disappeared from the ether. If FPC would get EP support then that would be very interesting for them. I am currently looking into some test programs they have written to see how much can be emulated using the current FPC and if a translation is feasible. I have even started an EP parser with the idea to build a transcompiler: https://github.com/veelo/Pascal2D

The biggest hurdle as I see it is schema types:

     type
       PositiveInteger = 1 .. MaxInt;
       Matrix (n, m: PositiveInteger) = array [1 .. n, 1 .. m] of Integer;

I appreciate your initiative very much. How do you see your chances of achieving EP support in FPC? Can I observe the work somewhere and maybe contribute?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant