「Lua」の版間の差分

提供: FreeBSD入門
移動: 案内検索
(ページの作成:「Lua とは '''読み方''' ;Lua:るあ __TOC__ == 概要 == Lua == インストール == {{pkg|lua}} === lua-5.1.5_6 === <syntaxhighlight lang="bash">...」)
 
(相違点なし)

2014年3月8日 (土) 13:44時点における最新版

Lua とは

読み方

Lua
るあ

概要

Lua

インストール

pkgコマンドでインストールする場合

sudo pkg install lua

lua-5.1.5_6

lua-5.1.5_6:
        /usr/local/bin/lua-5.1
        /usr/local/bin/lua51/lua
        /usr/local/bin/lua51/luac
        /usr/local/bin/luac-5.1
        /usr/local/include/lua51/lauxlib.h
        /usr/local/include/lua51/lua.h
        /usr/local/include/lua51/lua.hpp
        /usr/local/include/lua51/luaconf.h
        /usr/local/include/lua51/lualib.h
        /usr/local/lib/liblua-5.1.so
        /usr/local/lib/liblua-5.1.so.1
        /usr/local/lib/lua51/liblua-5.1.so.1
        /usr/local/lib/lua51/liblua.a
        /usr/local/lib/lua51/liblua.so
        /usr/local/libdata/pkgconfig/lua-5.1.pc
        /usr/local/man/man1/lua-5.1.1.gz
        /usr/local/man/man1/luac-5.1.1.gz
        /usr/local/share/doc/lua51/README
        /usr/local/share/doc/lua51/contents.html
        /usr/local/share/doc/lua51/etc/Makefile
        /usr/local/share/doc/lua51/etc/README
        /usr/local/share/doc/lua51/etc/all.c
        /usr/local/share/doc/lua51/etc/lua.ico
        /usr/local/share/doc/lua51/etc/luavs.bat
        /usr/local/share/doc/lua51/etc/min.c
        /usr/local/share/doc/lua51/etc/noparser.c
        /usr/local/share/doc/lua51/etc/strict.lua
        /usr/local/share/doc/lua51/logo.gif
        /usr/local/share/doc/lua51/lua.html
        /usr/local/share/doc/lua51/luac.html
        /usr/local/share/doc/lua51/manual.html
        /usr/local/share/doc/lua51/readme.html
        /usr/local/share/doc/lua51/test/README
        /usr/local/share/doc/lua51/test/bisect.lua
        /usr/local/share/doc/lua51/test/cf.lua
        /usr/local/share/doc/lua51/test/echo.lua
        /usr/local/share/doc/lua51/test/env.lua
        /usr/local/share/doc/lua51/test/factorial.lua
        /usr/local/share/doc/lua51/test/fib.lua
        /usr/local/share/doc/lua51/test/fibfor.lua
        /usr/local/share/doc/lua51/test/globals.lua
        /usr/local/share/doc/lua51/test/hello.lua
        /usr/local/share/doc/lua51/test/life.lua
        /usr/local/share/doc/lua51/test/luac.lua
        /usr/local/share/doc/lua51/test/printf.lua
        /usr/local/share/doc/lua51/test/readonly.lua
        /usr/local/share/doc/lua51/test/sieve.lua
        /usr/local/share/doc/lua51/test/sort.lua
        /usr/local/share/doc/lua51/test/table.lua
        /usr/local/share/doc/lua51/test/trace-calls.lua
        /usr/local/share/doc/lua51/test/trace-globals.lua
        /usr/local/share/doc/lua51/test/xd.lua
        /usr/local/share/licenses/lua-5.1.5_6/LICENSE
        /usr/local/share/licenses/lua-5.1.5_6/MIT
        /usr/local/share/licenses/lua-5.1.5_6/catalog.mk

設定

 

使い方

コマンドラインオプション

usage: /usr/local/bin/lua-5.1 [options] [script [args]].
Available options are:
  -e stat  execute string 'stat'
  -l name  require library 'name'
  -i       enter interactive mode after executing 'script'
  -v       show version information
  --       stop handling options
  -        execute stdin and stop handling options

関連項目