| /freebsd/contrib/lyaml/ |
| H A D | README.md | 1 LYAML chapter 7 …ps://github.com/gvvaughan/lyaml/actions/workflows/spec.yml/badge.svg?branch=release-v6.2.8)](https… 8 …tps://codecov.io/github/gvvaughan/lyaml/coverage.svg?branch=release-v6.2.8)](https://codecov.io/gi… 24 local lyaml = require "lyaml" 25 local t = lyaml.load (YAML-STRING, [OPTS-TABLE]) 26 local yamlstr = lyaml.dump (LUA-TABLE, [OPTS-TABLE]) 27 local null = lyaml.null () 30 #### `lyaml.load` 32 `lyaml.load` accepts a YAML string for parsing. If the YAML string contains 38 lyaml.load("foo: bar") [all …]
|
| H A D | NEWS.md | 1 # lyaml NEWS - User visible changes 10 - lyaml emitter no longer leaks at least six bytes for every 68 running examples against the not yet installed lyaml objects. 108 - `lyaml.load` now correctly reads implicit null scalars in a YAML 109 document as an `lyaml.null` reference, identical to the "~" 124 - `lyaml.load` now correctly reads a !!bool tagged scalar from a 142 - `lyaml.load` now correctly reads a !!float tagged scalar from a 146 - `lyaml.load` now correctly reads a !!int tagged scalar from a 150 - `lyaml.load` now supports the !!merge key type according to 203 - `lyaml.load` now correctly reads the !!null tag in a YAML [all …]
|
| H A D | lukefile | 2 LYAML binding for Lua 5.1, 5.2, 5.3 & 5.4 6 package = 'lyaml' 43 ['lyaml'] = 'lib/lyaml/init.lua', 44 ['lyaml.explicit'] = 'lib/lyaml/explicit.lua', 45 ['lyaml.functional'] = 'lib/lyaml/functional.lua', 46 ['lyaml.implicit'] = 'lib/lyaml/implicit.lua',
|
| H A D | lyaml-6.2.8-1.rockspec | 3 package = 'lyaml' 9 homepage = 'http://github.com/gvvaughan/lyaml', 14 url = 'http://github.com/gvvaughan/lyaml/archive/v' .. _MODREV .. '.zip', 15 dir = 'lyaml-' .. _MODREV, 56 url = 'git://github.com/gvvaughan/lyaml.git',
|
| H A D | .luacov | 2 ['lyaml'] = 'lib/lyaml/init.lua', 3 ['lyaml.*'] = 'lib',
|
| H A D | AUTHORS | 1 lyaml is the work of several authors (see git history for
|
| H A D | .gitignore | 8 /lyaml-*.tar.gz
|
| /freebsd/contrib/lyaml/spec/ |
| H A D | lib_lyaml_spec.yaml | 1 # LYAML binding for Lua 5.1, 5.2, 5.3 & 5.4 5 lyaml = require "lyaml" 8 lyaml.legacy = lyaml.load 9 lyaml.load = function (stream) return lyaml.legacy (stream, true) end 11 specify lyaml: 15 expect (lyaml.dump {}).to_equal "" 19 expect (lyaml.dump {""}).to_match "^%-%-%-%s*''\n%.%.%.%s*$" 21 expect (lyaml.dump {"one", "two"}). 26 expect (lyaml.dump {lyaml.null}).to_be "--- ~\n...\n" 27 expect (lyaml.dump {"~"}).to_be "--- '~'\n...\n" [all …]
|
| H A D | lib_lyaml_functional_spec.yaml | 1 # LYAML binding for Lua 5.1, 5.2, 5.3 & 5.4 5 this_module = 'lyaml.functional'
|
| H A D | spec_helper.lua | 2 LYAML binding for Lua 5.1, 5.2, 5.3 & 5.4 43 return 'see http://github.com/gvvaughan/lyaml/issues/' .. tostring(n)
|
| /freebsd/contrib/lyaml/doc/ |
| H A D | index.html | 6 <title>lyaml 6.2.8 Reference</title> 27 <h1>lyaml 6.2.8</h1> 34 <li><a href="modules/lyaml.html">lyaml</a></li> 35 <li><a href="modules/lyaml.explicit.html">lyaml.explicit</a></li> 36 <li><a href="modules/lyaml.functional.html">lyaml.functional</a></li> 37 <li><a href="modules/lyaml.implicit.html">lyaml.implicit</a></li> 46 <h1>LYAML binding for Lua</h1> 64 <td class="name" nowrap><a href="modules/lyaml.html">lyaml</a></td> 70 <td class="name" nowrap><a href="modules/lyaml.explicit.html">lyaml.explicit</a></td> 76 <td class="name" nowrap><a href="modules/lyaml.functional.html">lyaml.functional</a></td> [all …]
|
| /freebsd/contrib/lyaml/doc/modules/ |
| H A D | lyaml.functional.html | 6 <title>lyaml 6.2.8 Reference</title> 27 <h1>lyaml 6.2.8</h1> 42 <li><a href="../modules/lyaml.html">lyaml</a></li> 43 <li><a href="../modules/lyaml.explicit.html">lyaml.explicit</a></li> 44 <li><strong>lyaml.functional</strong></li> 45 <li><a href="../modules/lyaml.implicit.html">lyaml.implicit</a></li> 52 <h1>Module <code>lyaml.functional</code></h1> 65 <td class="summary"><code>lyaml.null</code> predicate.</td> 84 <td class="summary"><code>lyaml.null</code> value.</td> 100 <code>lyaml.null</code> predicate. [all …]
|
| H A D | lyaml.explicit.html | 6 <title>lyaml 6.2.8 Reference</title> 27 <h1>lyaml 6.2.8</h1> 41 <li><a href="../modules/lyaml.html">lyaml</a></li> 42 <li><strong>lyaml.explicit</strong></li> 43 <li><a href="../modules/lyaml.functional.html">lyaml.functional</a></li> 44 <li><a href="../modules/lyaml.implicit.html">lyaml.implicit</a></li> 51 <h1>Module <code>lyaml.explicit</code></h1> 109 … <span class="types"><a class="type" href="../modules/lyaml.explicit.html#bool">bool</a></span> 181 … <span class="types"><a class="type" href="../modules/lyaml.explicit.html#int">int</a></span> 211 <span class="types"><span class="type">lyaml.null</span></span>
|
| H A D | lyaml.html | 6 <title>lyaml 6.2.8 Reference</title> 27 <h1>lyaml 6.2.8</h1> 42 <li><strong>lyaml</strong></li> 43 <li><a href="../modules/lyaml.explicit.html">lyaml.explicit</a></li> 44 <li><a href="../modules/lyaml.functional.html">lyaml.functional</a></li> 45 <li><a href="../modules/lyaml.implicit.html">lyaml.implicit</a></li> 52 <h1>Module <code>lyaml</code></h1>
|
| H A D | lyaml.implicit.html | 6 <title>lyaml 6.2.8 Reference</title> 27 <h1>lyaml 6.2.8</h1> 41 <li><a href="../modules/lyaml.html">lyaml</a></li> 42 <li><a href="../modules/lyaml.explicit.html">lyaml.explicit</a></li> 43 <li><a href="../modules/lyaml.functional.html">lyaml.functional</a></li> 44 <li><strong>lyaml.implicit</strong></li> 51 <h1>Module <code>lyaml.implicit</code></h1> 133 lyaml.null, for an empty string or literal ~ 169 … <span class="types"><a class="type" href="../modules/lyaml.implicit.html#bool">bool</a></span> 392 … <span class="types"><a class="type" href="../modules/lyaml.implicit.html#nan">nan</a></span>
|
| /freebsd/contrib/lyaml/build-aux/ |
| H A D | config.ld.in | 2 LYAML binding for Lua 5.1, 5.2, 5.3 & 5.4 9 # LYAML binding for Lua 26 '../lib/lyaml/init.lua', 27 '../lib/lyaml/explicit.lua', 28 '../lib/lyaml/functional.lua', 29 '../lib/lyaml/implicit.lua',
|
| /freebsd/contrib/lyaml/lib/lyaml/ |
| H A D | functional.lua | 25 --- @module lyaml.functional 28 --- `lyaml.null` value. 30 local NULL = setmetatable({}, {_type='LYAML null'}) 33 --- `lyaml.null` predicate. 35 -- @treturn bool `true` if *x* is `lyaml.null`. 37 return(getmetatable(x) or {})._type == 'LYAML null'
|
| H A D | explicit.lua | 1 -- LYAML parse explicit token values. 25 --- @module lyaml.explicit 27 local functional = require 'lyaml.functional' 28 local implicit = require 'lyaml.implicit' 98 -- @treturn lyaml.null
|
| H A D | implicit.lua | 1 -- LYAML parse implicit type tokens. 25 --- @module lyaml.implicit 28 local NULL = require 'lyaml.functional'.NULL 70 -- @return[1] lyaml.null, for an empty string or literal ~
|
| H A D | init.lua | 28 --- @module lyaml 31 local explicit = require 'lyaml.explicit' 32 local functional = require 'lyaml.functional' 33 local implicit = require 'lyaml.implicit' 527 --- `lyaml.null` value.
|
| /freebsd/libexec/flua/liblyaml/ |
| H A D | Makefile.inc | 3 LYAMLSRC?= ${SRCTOP}/contrib/lyaml 4 .PATH: ${LYAMLSRC}/ext/yaml ${LYAMLSRC}/lib/lyaml 20 YAMLDIR= ${SHAREDIR}/flua/lyaml
|
| /freebsd/contrib/lyaml/ext/yaml/ |
| H A D | scanner.c | 26 #include "lyaml.h" 307 luaL_newmetatable (L, "lyaml.scanner"); in scanner_init() 328 luaL_getmetatable (L, "lyaml.scanner"); in Pscanner()
|
| H A D | lyaml.h | 2 * lyaml.h, libyaml parser binding for Lua 34 #include "lyaml.h"
|
| H A D | parser.c | 26 #include "lyaml.h" 377 luaL_newmetatable(L, "lyaml.parser"); in parser_init() 398 luaL_getmetatable (L, "lyaml.parser"); in Pparser()
|
| /freebsd/contrib/libyaml/ |
| H A D | yaml-0.1.pc.in | 10 Libs: -L${libdir} -lyaml
|