Skip to content

Commit

Permalink
Merge pull request #279 from objectionary/update-eo-0.48.1
Browse files Browse the repository at this point in the history
New release for eo-0.48.1
  • Loading branch information
yegor256 authored Dec 11, 2024
2 parents 9951999 + fbccabb commit 1c2b3ed
Show file tree
Hide file tree
Showing 114 changed files with 242 additions and 168 deletions.
2 changes: 1 addition & 1 deletion make/jvm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SOFTWARE.
<artifactId>jvm</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<eo.version>0.46.0</eo.version>
<eo.version>0.48.1</eo.version>
<stack-size>32M</stack-size>
<heap-size>2G</heap-size>
</properties>
Expand Down
4 changes: 2 additions & 2 deletions objects/org/eolang/as-phi.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# Turns an object into a phi-term printable to console.
#
Expand Down
5 changes: 2 additions & 3 deletions objects/org/eolang/bytes.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# The object encapsulates a chain of bytes, adding a few
# convenient operations to it. Objects like `int`, `string`,
Expand All @@ -35,7 +35,6 @@
data > @
$ > as-bytes
$.eq 01- > as-bool
string $ > as-string

# Turn this chain of eight bytes into a number.
# If there are less or more than eight bytes, there will
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/cti.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+version 0.46.0
+version 0.48.1

# Compile Time Instruction (CTI).
#
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/dataized.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+version 0.46.0
+version 0.48.1

# The object dataizes `target`, makes new instance of `bytes` from given data and behaves as result
# `bytes`.
Expand Down
4 changes: 2 additions & 2 deletions objects/org/eolang/error.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# This object must be used in order to terminate the program
# due to an error. Just make a copy of it with any encapsulated object.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/false.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+version 0.46.0
+version 0.48.1

# The object is a FALSE boolean state.
[] > false
Expand Down
7 changes: 4 additions & 3 deletions objects/org/eolang/fs/dir.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.fs
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# Directory in the file system.
# Apparently every directory is a file.
Expand Down Expand Up @@ -90,7 +90,8 @@
[] > tmpfile
if. > @
^.exists
QQ.fs.file touch.as-bytes.as-string
QQ.fs.file
string touch.as-bytes
error
sprintf
"Directory %s does not exist, can't create temporary file"
Expand Down
7 changes: 4 additions & 3 deletions objects/org/eolang/fs/file.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.fs
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# A file on the filesystem.
[path] > file
Expand Down Expand Up @@ -78,7 +78,8 @@

# Move current file to `target`, making and returning a new `file` from it.
[target] > moved
QQ.fs.file move.as-bytes.as-string > @
QQ.fs.file > @
string move.as-bytes

# Tries to move file from `^.path` to `target`
# and returns path of moved file as `string`.
Expand Down
24 changes: 11 additions & 13 deletions objects/org/eolang/fs/path.eo
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.fs
+version 0.46.0
+version 0.48.1

# A `path` represents a path that is hierarchical and composed of a sequence of
# directory and file name elements separated by a special separator or delimiter.
Expand All @@ -43,7 +43,7 @@
# Utility object that joins given `tuple` of paths with current OS separator
# and normalizes result path.
[paths] > joined
as-string. > joined-path
string > joined-path
as-bytes.
joined.
text ^.separator
Expand Down Expand Up @@ -132,11 +132,10 @@
--
determined. > @
^.^.posix
as-string.
if.
normalized.eq "//"
"/"
normalized
if.
normalized.eq "//"
"/"
string normalized

# Resolves `other` path against `^.uri` and returns as new `path` from it.
# The original `uri` and resolving `other` may be:
Expand Down Expand Up @@ -269,7 +268,7 @@
"\\" > separator
determined. > @
validated
as-string.
string
as-bytes.
validated.separated-correctly
uri
Expand Down Expand Up @@ -397,11 +396,10 @@
--
determined. > @
^.^.validated
as-string.
if.
normalized.eq "\\\\"
^.separator
normalized
if.
normalized.eq "\\\\"
^.separator
string normalized

# Resolves `other` path against `^.uri` and returns as new `path` from it.
# Original `uri` and `other` path for resolving may be:
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/fs/tmpdir.eo
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.fs
+version 0.46.0
+version 0.48.1

# Temporary directory.
# For Unix/MacOS uses the path supplied by the first environment variable
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/go.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+version 0.46.0
+version 0.48.1

# Non-conditional forward and backward jumps.
# Forward jump instantly returns provided object to `g.forward` without touching
Expand Down
4 changes: 2 additions & 2 deletions objects/org/eolang/i16.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# The 16 bits signed integer.
# Here `as-bytes` must be a `bytes` object.
Expand Down
4 changes: 2 additions & 2 deletions objects/org/eolang/i32.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# The 32 bits signed integer.
# Here `as-bytes` must be a `bytes` object.
Expand Down
4 changes: 2 additions & 2 deletions objects/org/eolang/i64.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# The 64 bits signed integer.
# Here `as-bytes` must be a `bytes` object.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/bytes-as-input.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# Makes an `input` from bytes.
# Here `bts` is sequence of bytes or an object that can be dataized
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/console.eo
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# The `console` object is basic I/O object that allows to
# interact with operation system console.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/dead-input.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# Dead input is an input that reads from nowhere and always
# returns empty sequence of bytes `--`.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/dead-output.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# Dead output is an output that writes to nowhere.
[] > dead-output
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/input-length.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# Reads all the bytes from provided `input` and returns its length.
[input] > input-length
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/malloc-as-output.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# Makes an output from allocated block in memory.
# Here `allocated` is `malloc.of.allocated` object.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/stdin.eo
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# The `stdin` object is a convenient wrapper on `console` object
# which is used as input only and allows to read the data from console.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/stdout.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# The `stdout` object is convenient wrapper on `console` object which
# uses it as output only and allows to print given argument to console as `string`:
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/io/tee-input.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.io
+version 0.46.0
+version 0.48.1

# Tee input is an input that reads from provided `input`,
# writes to provided `output` and behaves as provided `input`.
Expand Down
10 changes: 8 additions & 2 deletions objects/org/eolang/malloc.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# The `malloc` object is an abstraction of a storage of data in heap
# memory. The implementation of `malloc` is platform dependent. It may
Expand Down Expand Up @@ -81,6 +81,12 @@
# Here the void attribute in the scope object is memory-block object which provides API to write
# and read data to the memory.
[] > malloc
# Allocates empty block in memory.
[scope] > empty
malloc.of > @
0
scope

# Allocates block in memory for given `object`. After allocation the provided object is dataized
# and the data are written into memory.
[object scope] > for
Expand Down
4 changes: 2 additions & 2 deletions objects/org/eolang/math/angle.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.math
+rt jvm org.eolang:eo-runtime:0.46.0
+rt jvm org.eolang:eo-runtime:0.48.1
+rt node eo2js-runtime:0.0.0
+version 0.46.0
+version 0.48.1

# The angle.
[value] > angle
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/math/e.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.math
+version 0.46.0
+version 0.48.1

# The Euler's number
2.7182818284590452354 > e
2 changes: 1 addition & 1 deletion objects/org/eolang/math/integral.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.math
+version 0.46.0
+version 0.48.1

# Counts integral from `a` to `b`.
# Here `func` is integration function, `a` is an upper limit,
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/math/numbers.eo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.math
+version 0.46.0
+version 0.48.1

# Sequence of numbers.
# Here `sequence` must be a `tuple` or any `tuple` decorator of `number` objects.
Expand Down
2 changes: 1 addition & 1 deletion objects/org/eolang/math/pi.eo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.math
+version 0.46.0
+version 0.48.1

# The PI number
3.14159265358979323846 > pi
2 changes: 1 addition & 1 deletion objects/org/eolang/math/random.eo
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
+architect [email protected]
+home https://github.com/objectionary/eo
+package org.eolang.math
+version 0.46.0
+version 0.48.1

# Pseudo random number.
[seed] > random
Expand Down
Loading

0 comments on commit 1c2b3ed

Please sign in to comment.