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

Pascal string type for FlexCat and FPC Unit descriptor #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chainq
Copy link

@chainq chainq commented May 20, 2022

This patch adds a pascal string type to FlexCat. This will encode \n, \t and similar formatting characters as #<code>, for example \n will be #10 as the output. This allows for example multi line strings to work in Pascal applications without further runtime formatting and post-processing.

Also added a Free Pascal unit descriptor, based on the existing HS Pascal descriptor, and the work of Marcus "@alb42" Sackrow, with additional changes by me.

Please note that this is probably also the correct approach for the HS Pascal descriptor, and not using E strings, but due to the lack of a copy of HS Pascal, I couldn't test this.

chainq added 3 commits May 20, 2022 12:36
…e characters work without further runtime formatting and post processing
…don't get overload errors with a recent compiler
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

Successfully merging this pull request may close these issues.

1 participant