We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, ramdascript looks awesome.
I was curious what the correct export form?
export
Input:
(def x (fn [] (console.log 'hi'))) (export x)
Expected:
var x = function () { return console.log('hi'); } export default x;
Actual:
var x = function () { return console.log('hi');
https://yosbelms.github.io/ramdascript/#link:(def%20x%20(fn%20%5B%5D%0A%20%20(console.log%20'hi')))%0A%0A(export%20x)
The text was updated successfully, but these errors were encountered:
RamdaScript compiler supports several output formats. Try putting the source code in a file and run
ram compile -src ./my-file.ram
The result should be a my-file.js with the exported object according to the CommonJS standard.
my-file.js
Sorry, something went wrong.
No branches or pull requests
Hi, ramdascript looks awesome.
I was curious what the correct
export
form?Input:
Expected:
Actual:
https://yosbelms.github.io/ramdascript/#link:(def%20x%20(fn%20%5B%5D%0A%20%20(console.log%20'hi')))%0A%0A(export%20x)
The text was updated successfully, but these errors were encountered: