N-Prolog version 3.1
N-Prolog Ver3.1 Release Notes
Release Date: [9/8/2024]
We are pleased to announce the release of N-Prolog Ver3.1. This version includes significant updates, focusing on numerical calculation improvements, enhanced compatibility with ARITY/PROLOG, and compiler enhancements. Please refer to the details below.
Major Changes
Streamlined Numerical Calculation Functions
Numerical calculation functions have been simplified and organized to align with Prolog's characteristics. Unnecessary functions and conflicting names have been resolved, providing a more lightweight and intuitive experience.
Function Deprecation
The following numerical calculation functions have been deprecated:
gcd (Greatest Common Divisor) ,truncate, ... etc
This allows users to define these names as predicates freely, making it easier to create custom predicates.
Renaming of Numerical Functions
The log function has been redefined as the common logarithm (base 10).
A new ln function has been introduced for calculating the natural logarithm (base e).
These changes maintain compatibility with ARITY/PROLOG, ensuring a familiar experience for existing users.
Enhanced Compatibility with ARITY/PROLOG
Compatibility with ARITY/PROLOG has been further strengthened, ensuring that specific features and operations align with those systems. This makes transitioning to N-Prolog smoother for ARITY/PROLOG users.
Name Collision Resolution
Issues with name collisions between numerical calculation functions and predicates have been resolved. Users can now define predicates without worrying about conflicts.
Compiler Enhancements
Link Index Management with Enum Type
The compiler has been improved to better manage the index for linking object files. Previously, link numbers were hardcoded as numeric values, but from this version onward, enum types are used to manage link numbers by name. This enhancement significantly improves code readability and maintainability.
Future Plans
While this release focuses on numerical calculations and compatibility issues, future versions will include additional features and improvements. We welcome your continued feedback.
Installation
The latest version is available for download from the official website. For installation instructions, please refer to the README.
Bug Reports and Feedback
If you encounter any issues or have any feedback, please contact us via the Github issues.
Enjoy N-Prolog Ver3.1!