-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
116ed61
commit 93ff6db
Showing
33 changed files
with
278 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Bytes.and. | ||
* @return {Object} - Bytes.and object | ||
* @todo #3:30min Implement bytes$and atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const bytes$and = function() { | ||
const obj = object('bytes$and') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom bytes$and is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = bytes$and |
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
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
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
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
22 changes: 22 additions & 0 deletions
22
eo2js-runtime/src/objects/org/eolang/cage$encaged$encage.js
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Cage.encaged.encage. | ||
* @return {Object} - Cage.encaged.encage object | ||
* @todo #3:30min Implement cage$encaged$encage atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const cage$encaged$encage = function() { | ||
const obj = object('cage$encaged$encage') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom cage$encaged$encage is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = cage$encaged$encage |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Cage.encaged.φ. | ||
* @return {Object} - Cage.encaged.φ object | ||
* @todo #3:30min Implement cage$encaged$φ atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const cage$encaged$φ = function() { | ||
const obj = object('cage$encaged$φ') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom cage$encaged$φ is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = cage$encaged$φ |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Cage.φ. | ||
* @return {Object} - Cage.φ object | ||
* @todo #3:30min Implement cage$φ atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const cage$φ = function() { | ||
const obj = object('cage$φ') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom cage$φ is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = cage$φ |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Dataized. | ||
* @return {Object} - Dataized object | ||
* @todo #3:30min Implement dataized atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const dataized = function() { | ||
const obj = object('dataized') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom dataized is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = 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
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
22 changes: 22 additions & 0 deletions
22
eo2js-runtime/src/objects/org/eolang/malloc$of$allocated$read.js
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Malloc.of.allocated.read. | ||
* @return {Object} - Malloc.of.allocated.read object | ||
* @todo #3:30min Implement malloc$of$allocated$read atom. We need to implement the atom and make | ||
* sure it works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const malloc$of$allocated$read = function() { | ||
const obj = object('malloc$of$allocated$read') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom malloc$of$allocated$read is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = malloc$of$allocated$read |
22 changes: 22 additions & 0 deletions
22
eo2js-runtime/src/objects/org/eolang/malloc$of$allocated$write.js
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Malloc.of.allocated.write. | ||
* @return {Object} - Malloc.of.allocated.write object | ||
* @todo #3:30min Implement malloc$of$allocated$write atom. We need to implement the atom and make | ||
* sure it works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const malloc$of$allocated$write = function() { | ||
const obj = object('malloc$of$allocated$write') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom malloc$of$allocated$write is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = malloc$of$allocated$write |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Malloc.of.φ. | ||
* @return {Object} - Malloc.of.φ object | ||
* @todo #3:30min Implement malloc$of$φ atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const malloc$of$φ = function() { | ||
const obj = object('malloc$of$φ') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom malloc$of$φ is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = malloc$of$φ |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const object = require('../../../runtime/object') | ||
const {LAMBDA} = require('../../../runtime/attribute/specials'); | ||
const ErFailure = require('../../../runtime/error/ErFailure'); | ||
|
||
/** | ||
* Rust. | ||
* @return {Object} - Rust object | ||
* @todo #3:30min Implement rust atom. We need to implement the atom and make sure it | ||
* works. For the details of implementation check the Java analogue on | ||
* https://github.com/objectionary/eo/tree/master/eo-runtime/src/main/java/EOorg/EOeolang | ||
*/ | ||
const rust = function() { | ||
const obj = object('rust') | ||
obj.assets[LAMBDA] = function(_) { | ||
throw new ErFailure( | ||
`Atom rust is not implemented yet` | ||
) | ||
} | ||
return obj | ||
} | ||
|
||
module.exports = rust |
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
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
Oops, something went wrong.