-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from objectionary/update-eo-0.48.1
New release for eo-0.48.1
- Loading branch information
Showing
114 changed files
with
242 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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`, | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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 | ||
|
@@ -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: | ||
|
@@ -269,7 +268,7 @@ | |
"\\" > separator | ||
determined. > @ | ||
validated | ||
as-string. | ||
string | ||
as-bytes. | ||
validated.separated-correctly | ||
uri | ||
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 `--`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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`: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
Oops, something went wrong.