mirror of
https://github.com/vlang/v.git
synced 2025-09-15 23:42:28 +03:00
44 lines
602 B
JavaScript
44 lines
602 B
JavaScript
// V_COMMIT_HASH 0de70e8
|
|
// V_CURRENT_COMMIT_HASH 0de70e8
|
|
// Generated by the V compiler
|
|
|
|
"use strict";
|
|
|
|
/* namespace: builtin */
|
|
const builtin = (function () {
|
|
/**
|
|
* @param {string} s
|
|
* @returns {void}
|
|
*/
|
|
function println(s) {
|
|
console.log(s);
|
|
}
|
|
|
|
/**
|
|
* @param {string} s
|
|
* @returns {void}
|
|
*/
|
|
function print(s) {
|
|
process.stdout.write(s);
|
|
}
|
|
|
|
/* module exports */
|
|
return {
|
|
println,
|
|
print,
|
|
};
|
|
})();
|
|
|
|
/* namespace: main */
|
|
const main = (function () {
|
|
/* program entry point */
|
|
(function() {
|
|
builtin.println("hello world");
|
|
})();
|
|
|
|
/* module exports */
|
|
return {
|
|
};
|
|
})();
|
|
|
|
|