Releases: Insoft-UK/PrimePlus
Version 2.0.5
Version 2.0.4
When defining a macro with parameters, issues can arise if an argument name is adjacent to a letter, causing conflicts. To resolve this, you can now use a numbered placeholders like 1$
for the first argument, 2$
for the second, 3$
for the third, and so on. This ensures the macro arguments remain uniquely identifiable and avoid conflicts.
Bug Fixes!
The issues related to string handling have been resolved.
Version 2.0.3
Namespaces have now been introduced to P+, adding a hint of C++ to PPL. Unlike C++, where you can only add a namespace with using namespace std;
, P+ allows you to reverse this with remove namespace std;
, offering functionality that C++ lacks. Additionally, similar to C++, if a namespace is added within a local scope, it is automatically removed once it goes out of scope.
Bug Fixes!
The issues related to combining pure PPL code with P+ code have been resolved.
Version 2.0.2
You can now insert a line space in the generated PPL code.
The P+ pre-processor will interpret multiple line spaces in your code as a single line space in the generated PPL code.
Local structs are now automatically removed once they go out of scope.
The pre-calc instruction now uses a simpler and more streamlined format: \ 2 [ 1 + 2 * 4 / 2 ]
compared to the previous #[ 1 + 2 * 4 / 2 ]:2
.
Backward compatibility with the previous format is also maintained.
Enhanced formatting and layout of the generated PPL code.
Bug fixes!
The issue with #PPL being partially parsed has been fixed. Any code explicitly marked as PPL will remain unchanged. Similarly, #PYTHON code was also being incorrectly parsed, and now, like PPL code, any Python code will remain untouched.
Version 2.0.1 for macOS
Addresses issues with incorrect line number reporting caused by the previous two-stage parsing process.
The parsing logic has been rewritten to ensure accurate tracking of the line being processed.
The pre-calculation feature now supports PPL integer numbers, enabling the use of expressions like #3F:-8h.
Note
The source code includes a test file used to validate P+ features.
Version 2.0 for macOS
P+ v2.0 for macOS, includes the P+ Library pplib
& Utils hpprgm