Last active
October 15, 2020 13:45
-
-
Save shelajev/6cb1a30c5082b542197f1fba6014638f to your computer and use it in GitHub Desktop.
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
*> interoperability fields | |
01 WS-SHA3-256-JS-POINTER PROGRAM-POINTER. | |
01 WS-JS PIC X(3). | |
01 WS-SHA3-256-JS-FILENAME PIC X(50). | |
MOVE Z'js' TO WS-JS. | |
MOVE Z'SHA3-256.js' TO WS-SHA3-256-JS-FILENAME. | |
*> get javascript function | |
CALL STATIC "polyglot_eval_file" using | |
WS-JS | |
WS-SHA3-256-JS-FILENAME | |
returning WS-SHA3-256-JS-POINTER | |
END-CALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment