From e7e12037565aa85557cf425984e7f1a0945326cb Mon Sep 17 00:00:00 2001 From: trizen Date: Sun, 12 May 2024 10:30:07 +0300 Subject: [PATCH] Version 24.05 --- .gitignore | 6 ++++++ MANIFEST.SKIP | 6 ++++++ NUMBER_THEORY_TUTORIAL.md | 8 ++++---- README.md | 6 +++--- TUTORIAL.md | 4 ++-- bin/sidef | 2 +- lib/Sidef.pm | 2 +- 7 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index ecf66f842..8d215c866 100755 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,9 @@ inc/ /MANIFEST.bak /pm_to_blib /*.zip + +# PDF files +/sidef-number-class-documentation.pdf +/sidef-number-theory.pdf +/sidef-tutorial.pdf +/sidef-book.pdf diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index 5905a537a..217142838 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -81,3 +81,9 @@ # Avoid archives of this distribution \bSidef-[\d\.\_]+ + +# Avoid PDF files +^sidef-tutorial.pdf$ +^sidef-number-theory.pdf$ +^sidef-number-class-documentation.pdf$ +^sidef-book.pdf$ diff --git a/NUMBER_THEORY_TUTORIAL.md b/NUMBER_THEORY_TUTORIAL.md index 0833dceb4..8555444f4 100644 --- a/NUMBER_THEORY_TUTORIAL.md +++ b/NUMBER_THEORY_TUTORIAL.md @@ -14,7 +14,7 @@ In this tutorial we're going to look how we can use [Sidef](https://github.com/t ** ** **** ********* ********* * ``` -To initiate your journey with Sidef and installation instructions, refer to the [beginner's tutorial](https://codeberg.org/trizen/sidef/src/branch/master/TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-tutorial.pdf)). +To initiate your journey with Sidef and installation instructions, refer to the [beginner's tutorial](https://codeberg.org/trizen/sidef/src/branch/master/TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-tutorial.pdf)). Over time, Sidef has integrated numerous mathematical functions, many sourced from Dana Jacobsen's commendable [Math::Prime::Util](https://github.com/danaj/Math-Prime-Util) and [Math::Prime::Util::GMP](https://github.com/danaj/Math-Prime-Util-GMP) Perl modules. These modules significantly enhance performance in tasks like integer factorization, primality testing, and prime counting. @@ -30,7 +30,7 @@ After [installing Sidef](https://codeberg.org/trizen/sidef/src/branch/master/TUT ``` $ sidef -Sidef 24.01, running on Linux, using Perl v5.38.1. +Sidef 24.05, running on Linux, using Perl v5.38.2. Type "help", "copyright" or "license" for more information. > ``` @@ -254,7 +254,7 @@ k.powerfree_divisors(n) # k-powerfree divisors of n k.powerfree_udivisors(n) # k-powerfree unitary divisors of n ``` -For the full documentation of each function, please see: [https://metacpan.org/pod/Sidef::Types::Number::Number](https://metacpan.org/pod/Sidef::Types::Number::Number) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-number-class-documentation.pdf)) +For the full documentation of each function, please see: [https://metacpan.org/pod/Sidef::Types::Number::Number](https://metacpan.org/pod/Sidef::Types::Number::Number) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-number-class-documentation.pdf)) # Generating sequences @@ -362,7 +362,7 @@ for n in (0..30) { This section briefly describes the built-in classes related to computational number theory. -For the documentation of other built-in classes, please see: [https://trizen.gitbook.io/sidef-lang/](https://trizen.gitbook.io/sidef-lang/) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-book.pdf)). +For the documentation of other built-in classes, please see: [https://trizen.gitbook.io/sidef-lang/](https://trizen.gitbook.io/sidef-lang/) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-book.pdf)). ## Mod class diff --git a/README.md b/README.md index eb74176f1..943627cfb 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ Sidef is a modern, high-level programming language designed for versatile genera ### Resources -- [Beginner's Tutorial](https://codeberg.org/trizen/sidef/src/branch/master/TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-tutorial.pdf)) -- [Number Theory Tutorial](https://codeberg.org/trizen/sidef/src/branch/master/NUMBER_THEORY_TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-number-theory.pdf)) +- [Beginner's Tutorial](https://codeberg.org/trizen/sidef/src/branch/master/TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-tutorial.pdf)) +- [Number Theory Tutorial](https://codeberg.org/trizen/sidef/src/branch/master/NUMBER_THEORY_TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-number-theory.pdf)) - RosettaCode: [Sidef](https://rosettacode.org/wiki/Sidef) -- Gitbook: [Sidef-lang](https://trizen.gitbook.io/sidef-lang/) ([legacy](https://trizen.gitbooks.io/sidef-lang)) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-book.pdf)) +- Gitbook: [Sidef-lang](https://trizen.gitbook.io/sidef-lang/) ([legacy](https://trizen.gitbooks.io/sidef-lang)) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-book.pdf)) ### Questions & Answers diff --git a/TUTORIAL.md b/TUTORIAL.md index c3bb6e34d..82eacaeb6 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -16,7 +16,7 @@ Sidef is a modern, high-level programming language designed for versatile genera # Book -The Sidef Programming Language: [https://trizen.gitbook.io/sidef-lang/](https://trizen.gitbook.io/sidef-lang/) ([legacy](https://trizen.gitbooks.io/sidef-lang)) ([PDF](https://github.com/trizen/sidef/releases/download/24.01/sidef-book.pdf)). +The Sidef Programming Language: [https://trizen.gitbook.io/sidef-lang/](https://trizen.gitbook.io/sidef-lang/) ([legacy](https://trizen.gitbooks.io/sidef-lang)) ([PDF](https://github.com/trizen/sidef/releases/download/24.05/sidef-book.pdf)). # Installation @@ -32,7 +32,7 @@ Access the latest release at: For Windows, Sidef is available as a portable 32-bit executable: -* https://github.com/trizen/sidef/releases/download/24.01/sidef-24.01.exe.zip +* https://github.com/trizen/sidef/releases/download/24.05/sidef-24.05.exe.zip ## Linux installation diff --git a/bin/sidef b/bin/sidef index 507714f03..8873aa868 100755 --- a/bin/sidef +++ b/bin/sidef @@ -1050,7 +1050,7 @@ Outputs: The interactive mode (a.k.a. REPL) is available by simply executing the C command, or by specifying the C<-i> command-line switch: $ sidef -i - Sidef 24.01, running on Linux, using Perl v5.38.1. + Sidef 24.05, running on Linux, using Perl v5.38.2. Type "help", "copyright" or "license" for more information. > n = 41 #1 = 41 diff --git a/lib/Sidef.pm b/lib/Sidef.pm index 0d2441925..2fa37d166 100644 --- a/lib/Sidef.pm +++ b/lib/Sidef.pm @@ -3,7 +3,7 @@ package Sidef { use utf8; use 5.016; - our $VERSION = '24.01'; + our $VERSION = '24.05'; our $SPACES = 0; # the current number of indentation spaces our $SPACES_INCR = 4; # the number of indentation spaces