Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 832 Bytes

File metadata and controls

22 lines (11 loc) · 832 Bytes

| TinyScheme | 84 | 3176 | (define fn(lambda () (string-append "Hello, " (read))))

| Chibi-Scheme | 263 | 3684 | (define fn(lambda () (string-append "Hello, " (read))))

| Lua | 271 | 1916 | function fn() return "Hello, " .. read() end

| Squirrel | 278 | 1908 | function fn() { return "Hello, " + read(); }

| Gravity | 508 | 3604 | extern var read; func fn() { return "Hello, " + read(); }

| Janet | 811 | 4924 | (defn fn[] (string "Hello, " (read)))

| QuickJS | 983 | 1968 | const fn = () ⇒ 'Hello, ' + read()

| ArkScript | 1057 | 4660 | (let fn(fun() (+ "Hello, " (read))))

| ChaiScript | 1246 | 4572 | def fn() { return "Hello, " + read(); }

| AngelScript | 2064 | 4908 | string fn() { return 'Hello, ' + read(); }

| Python | 3609 | 8956 | import usermod; fn = lambda: 'Hello, ' + usermod.read()