lua2c - converts Lua 5.1 source code to C code. == Description == This utility converts a given Lua source file into an equivalent C source file written in terms of Lua CAPI calls. At least, this works for a large subset of the Lua language (see limitations below). The compiler is written entirely in Lua, and nobuild/install is needed. This project reuses Metalua's gg/mlp parser to convert Lua s
Account Suspended This Account has been suspended. Contact your hosting provider for more information.
mdiappはブラシ処理でスクリプト(Lua)を用いたプログラム制御が行えます。 http://staff.aist.go.jp/yutaka.ueno/lua/docsjp.html (Lua言語について プログラム制御をすることで、 http://d.hatena.ne.jp/MDIAPP/searchdiary?word=*[Brush] (ブラシ一覧 http://d.hatena.ne.jp/MDIAPP/20100313/1268487810 (カケアミ風 http://d.hatena.ne.jp/MDIAPP/20100313/1268488654 (ハート型 こういった形で自由度の高いブラシを作成することが可能です。ブラシスクリプトは、拡張子 (*.bs) で作成します。ブラシデザインウィンドウからスタイルで「プログラム」を選び、下のボタンを押しスクリプトを指定します (
Lua言語でiPhoneとAndroidの両方のプログラムが作れるCoronaという開発ツールがありまして、今週末、「日本Coronaの会 関西 第一回 初心者向け勉強会」というものが開催されます。 同じLua言語の開発ツールなので、Coronaにも興味がありまして、参加申し込みしました。 せっかく参加するので、何かLuaのプログラムを作ろうかなと思っていたのですが、Luaridaのプログラムで、Luaridaに依存しないプログラムはCoronaでも動くのではないかと思い、じゃ、そういうのをモジュールにしてみようと思って作ってみました。 Luaのモジュール化 Luaのモジュールは、普通にLuaのプログラムを作って、それを別のLuaプログラムがrequireで呼び出すだけでできるのですが、それだと、モジュール内と呼び出しプログラムで関数名が被っているとまずいことになります。そこで、モジュール
さきほどTwitterで流れてきたのでたまたま見つけたのですが、LuadnsというDNSホスティングサービスがかなり凄いです。Luaスクリプトでゾーン設定を書いてGitHubにpushするだけで即座にDNS設定ができてしまいます。DNSホスティングサービスというと、多くの場合ブラウザを開いてログインしてコントロールパネルからポチポチと入力して送信して、、、という手順を踏まないと設定が更新できないわけですが、Luadnsは違います。example.com.lua ファイルをEmacsやVim(やその他エディタ)で開いてLuaスクリプトを書き、git commit & git push で設定が完了してしまいます。push にフックして Luadns の設定が自動的に更新されます。 マウスまで手を動かすのが無限に遠く感じられるプログラマにとっては、これほど素早く簡単にDNSが設定できるのはか
EVAL script numkeys [key [key ...]] [arg [arg ...]] Available since: 2.6.0 Time complexity: Depends on the script that is executed. ACL categories: @slow, @scripting, Invoke the execution of a server-side Lua script. The first argument is the script's source code. Scripts are written in Lua and executed by theembedded Lua 5.1 interpreter in Redis. The second argument is the number of input key na
Update (2013-07-15): I improved this program to 50-language version. 50 言語版にパワーアップさせました。 これはこのプログラム自身を出力する Unlambda プログラム、を出力する Whitespace プログラム、を出力する brainfuck プログラム、を出力するJava プログラム、を出力する C プログラム、を出力する Haskell プログラム、を出力する OCaml プログラム、を出力する Lua プログラム、を出力するPerl プログラム、を出力するPython プログラム、を出力するRuby プログラム、です。 #ruby l=92.chr;eval s="s=s.dump[r=1..-2].gsub(/("+l*4+"){4,}(?!\")/){|t|'\"+l*%d+\"'%(t .s
Post-Accident Support They assist clients in accessing medical treatment, rehabilitation services, and other resources toaid in their recovery from the accident. Mediation and Arbitration They may represent clients in alternative dispute resolution processes such as mediation or arbitration to resolve the case outside of court. Legal Representation They provide representation in court proceedings
こんにちは。開発部最後の良心、mikioです。今回はLua処理系の並列化とそこでのKyoto Cabinetの利用法についてご紹介します。 サーバサイドスクリプティングといえばLua Kyoto CabinetのLuaバインディングは後回しにしてKyoto Tyrant的なサーバの設計を進めていたのですが、やはりそのサーバにもスクリプティング機能を持たせたくなりました。つまり、サーバがデフォルトで提供する機能群だけでなく、ユーザがスクリプト言語で記述した任意の機能を追加して利用できるようにするということです。 Tokyo TyrantではLua拡張と呼ばれる機能を用いてそれを実現しています。サーバの起動時にLuaのスクリプトを記述したファイルを読み込ませて、そこで定義した関数をリモートから呼び出せるようにしています。そこで実行されるLuaの処理系にはTTが管理するデータベースを操作するため
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く