Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.12 KB

File metadata and controls

34 lines (19 loc) · 1.12 KB

SDL3-for-Pascal Translation Hints and Tools

Here you find hints and tools which help to translate SDL3 header files into Pascal units for the SDL3 for Pascal Project.

How to start

  1. Get familiar with the Translation Code Style Sheet

This guideline helps to translate typical C constructs into Pascal as expected by our project. The goal is to provide better consistency in the source code throughout the project and to make it easier to find certain code parts in the C headers/Pascal units.

  1. Read through the tips and tricks below

You may find some helpful tips which improve the efficiency of the translation.

  1. Check for useful tools

Check the tools in their respective folder. They may help to save you a lot of time. (Unfortunately, there is just one tool provided at the moment though.)

Tips and Tricks

Lazarus: Regular Expressions in Replace

In Lazarus you can use regular expressions in the replace function (Strg + R). You need to check the respective check box.