This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc fib {x} { | |
if {<= $x 1} { | |
return 1 | |
} else { | |
+ [fib [- $x 1]] [fib [- $x 2]] | |
} | |
} | |
puts [fib 20] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local record core | |
record Bus | |
userdata | |
call: function(self: Bus, service: string, object: string, interface: string, member: string, types: string, ...:any): boolean, any... | |
end | |
enum EnumBus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'Test.Assertion' -- see https://framagit.org/fperrad/lua-testassertion | |
plan(43) | |
if debug then | |
diag("with debug") | |
else | |
diag("without debug") | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const parameters in static function | |
diff --git a/src/lapi.c b/src/lapi.c | |
index 3e24781..871fad2 100644 | |
--- a/src/lapi.c | |
+++ b/src/lapi.c | |
@@ -851,7 +851,7 @@ LUA_API void lua_seti (lua_State *L, int idx, lua_Integer n) { | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru lib/Parse/Yapp/Grammar.pm lib/Parse/Yapp/Grammar.pm | |
--- lib/Parse/Yapp/Grammar.pm Sun Feb 11 16:29:31 2001 | |
+++ lib/Parse/Yapp/Grammar.pm Fri Jun 1 18:28:28 2007 | |
@@ -43,6 +43,20 @@ | |
########### | |
# Methods # | |
########### | |
+########################### | |
+# Method To View Terminal # | |
+########################### |