Skip to content

Commit

Permalink
Version 24.01
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Jan 6, 2024
1 parent a5d8ae7 commit 2f78041
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
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/23.11/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.01/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 23.11, running on Linux, using Perl v5.38.0.
Sidef 24.01, running on Linux, using Perl v5.38.1.
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/23.11/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.01/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/23.11/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.01/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 @@ -32,10 +32,10 @@ Sidef is a modern, high-level, general-purpose programming language, inspired by

### WWW

* [Beginner's tutorial](https://codeberg.org/trizen/sidef/src/branch/master/TUTORIAL.md) ([PDF](https://github.com/trizen/sidef/releases/download/23.11/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/23.11/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.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))
* RosettaCode: https://rosettacode.org/wiki/Sidef
* Gitbook: https://trizen.gitbook.io/sidef-lang/ ([legacy](https://trizen.gitbooks.io/sidef-lang)) ([PDF](https://github.com/trizen/sidef/releases/download/23.11/sidef-book.pdf))
* Gitbook: 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))

### Q&A

Expand Down
8 changes: 6 additions & 2 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,23 @@ Sidef is a modern, high-level programming language with a general-purpose orient

# 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/23.11/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.01/sidef-book.pdf)).

# Installation

This section describes how to install Sidef for various operating systems.

The latest release can be found at:

* https://github.com/trizen/sidef/releases/

**IMPORTANT**: Sidef needs the [GMP](https://gmplib.org/), [MPFR](http://www.mpfr.org/) and [MPC](http://www.multiprecision.org/) C libraries.

## Windows executable

For Windows, Sidef is available as a portable 32-bit executable:

* https://github.com/trizen/sidef/releases/download/23.11/sidef-23.11.exe.zip
* https://github.com/trizen/sidef/releases/download/24.01/sidef-24.01.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 23.11, running on Linux, using Perl v5.38.0.
Sidef 24.01, running on Linux, using Perl v5.38.1.
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 = '23.11';
our $VERSION = '24.01';

our $SPACES = 0; # the current number of indentation spaces
our $SPACES_INCR = 4; # the number of indentation spaces
Expand Down

0 comments on commit 2f78041

Please sign in to comment.