This PR focuses on implementing various bytes operations in EOlang runtime, including size, not, concat, or, and, xor, eq, right, and slice.
Detailed summary
Added support for bigint type in data.js
Modified dataized.js to convert INT type to Number
Updated transpile.test.js comments and added only array
Improved error message in at-lambda.js
Added new test pack in attributes-order.json
Updated XSL template in to-js.xsl to handle void attributes first
Refactored bytes$size, bytes$not, bytes$concat, bytes$or, bytes$and, bytes$xor, bytes$eq, bytes$right, and bytes$slice functions to use new data handling methods
The following files were skipped due to too many changes: eo2js-runtime/src/objects/org/eolang/bytes$slice.js, eo2js-runtime/test/runtime/bytes-of.test.js, eo2js/test/it/runtime-tests.test.js, eo2js-runtime/src/runtime/bytes-of.js
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
Closes: #7
PR-Codex overview
This PR focuses on implementing various
bytes
operations in EOlang runtime, includingsize
,not
,concat
,or
,and
,xor
,eq
,right
, andslice
.Detailed summary
bigint
type indata.js
dataized.js
to convertINT
type toNumber
transpile.test.js
comments and addedonly
arrayat-lambda.js
attributes-order.json
to-js.xsl
to handle void attributes firstbytes$size
,bytes$not
,bytes$concat
,bytes$or
,bytes$and
,bytes$xor
,bytes$eq
,bytes$right
, andbytes$slice
functions to use new data handling methods