diff options
author | dvs1 | 2024-10-25 10:52:43 +1000 |
---|---|---|
committer | dvs1 | 2024-10-25 10:52:43 +1000 |
commit | 8177633357add8f7433598251aa63c610dfdd284 (patch) | |
tree | 3277036773267b18969a21c1675dbb87b71d95e8 /test_.lua | |
parent | Other potential names. (diff) | |
download | JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.zip JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.tar.gz JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.tar.bz2 JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.tar.xz |
Added an example in C. B-)
Diffstat (limited to '')
-rwxr-xr-x | test_.lua | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -96,6 +96,17 @@ __[[#!/bin/bash | |||
96 | ]]:log():show():Do() | 96 | ]]:log():show():Do() |
97 | print('') | 97 | print('') |
98 | 98 | ||
99 | __[[#!/usr/bin/tcc -run | ||
100 | #include <tcclib.h> | ||
101 | |||
102 | int main() | ||
103 | { | ||
104 | printf("Hello world from C.\n"); | ||
105 | return 0; | ||
106 | } | ||
107 | ]]:log():show():Do() | ||
108 | print('') | ||
109 | |||
99 | __[[#!/usr/bin/env luajit | 110 | __[[#!/usr/bin/env luajit |
100 | print('Hello ' .. "world " .. [=[from]=] .. " Lua.") | 111 | print('Hello ' .. "world " .. [=[from]=] .. " Lua.") |
101 | ]]:log():show():Do() | 112 | ]]:log():show():Do() |