Skip to content

Commit

Permalink
Version 24.05
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed May 12, 2024
1 parent 9547182 commit e7e1203
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -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$
8 changes: 4 additions & 4 deletions NUMBER_THEORY_TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.
>
```
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion bin/sidef
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ Outputs:
The interactive mode (a.k.a. REPL) is available by simply executing the C<sidef> 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
Expand Down
2 changes: 1 addition & 1 deletion lib/Sidef.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7e1203

Please sign in to comment.