{"library":"refal","title":"refal","description":"REFAL Transpiler to JavaScript is a tool that converts REFAL, a functional programming language with pattern matching, into JavaScript. Version 1.0.0 provides a command-line interface and programmatic API. Unlike general transpilers, it is specialized for REFAL and aims to make REFAL accessible in JavaScript environments. The project is minimal and early stage, with no regular release cadence.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install refal"],"cli":{"name":"refal","version":null}},"imports":["const { transpile } = require('./src/index.js');","const { transpile } = require('./src/index.js');","const transpile = require('./src/index.js').transpile;"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const { transpile } = require('./src/index.js');\nconst refalCode = `\n$ENTRY Go {\n  = <Hello>;\n}\n\nHello {\n  = 'Hello, World!';\n}\n`;\nconst jsCode = transpile(refalCode);\nconsole.log(jsCode);","lang":"javascript","description":"Transpiles a simple REFAL program that prints Hello World to JavaScript and logs the result.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}