Dataset Viewer
javascript
stringclasses 9
values | python
stringclasses 9
values | lua
stringclasses 9
values |
---|---|---|
console.log('Hello World');
|
print('Hello World')
|
print('Hello World')
|
var x = 3;
|
x = 3
|
local x = 3
|
console.log(y * 3);
|
print(y * 3)
|
print(y * 3)
|
console.log('moo');
|
print('moo')
|
print('moo')
|
let sum = (a, b) => a + b;
|
def sum(a, b): return a + b
|
sum = function(a, b) return a + b
|
const arr = [1, 2, 3];
|
arr = [1, 2, 3]
|
arr = {1, 2, 3}
|
if (x > 5) { console.log('Greater'); }
|
if x > 5: print('Greater')
|
if x > 5 then print('Greater')
|
for (let i = 0; i < 5; i++) { console.log(i); }
|
for i in range(5): print(i)
|
for i = 0, i < 5 do print(i) end
|
function greet() { return 'Hello'; }
|
def greet(): return 'Hello'
|
function greet() return 'Hello' end
|
I am trying to make programming language translation dataset, and train the model.
- Downloads last month
- 19