enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Wikipedia : Guide to Scribbling/Programmers' Quick start ...

    en.wikipedia.org/wiki/Wikipedia:Guide_to...

    Lua is dynamically typed. There's no static typing at all. From a syntactic point of view, think BASIC (or even COMAL) without line numbers and colons rather than C/C++/Java, Lisp/Scheme, or Forth. There's no begin, but most control structures have an end; for needs a do and if needs a then. {...} denote a table (expression), not a block of code.

  3. Module:Yesno - Wikipedia

    en.wikipedia.org/wiki/Module:Yesno

    While Lua allows the true and false boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process. It also returns nil values as nil, to allow for distinctions between nil and false. The module also ...

  4. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    Note: Lua patterns are not regular expressions in the traditional POSIX sense, and they are not even a subset of regular expressions. But they share many constructs with regular expressions (more below). Lua patterns are used to define, find and handle a pattern in a string. It can do the common search and replace action in a text, but it has ...

  5. Anaphoric macro - Wikipedia

    en.wikipedia.org/wiki/Anaphoric_macro

    The loop macro in ANSI Common Lisp is anaphoric in binding, where the it expression refers to the result of the test expression in a clause. [2] [3]Here is an example that sums the value of non-nil elements, where it refers to the values of elements that do not equal nil:

  6. Lua (programming language) - Wikipedia

    en.wikipedia.org/wiki/Lua_(programming_language)

    Marshalling data between C and Lua functions is also done using the stack. To call a Lua function, arguments are pushed onto the stack, and then the lua_call is used to call the actual function. When writing a C function to be directly called from Lua, the arguments are read from the stack. Here is an example of calling a Lua function from C:

  7. Wikipedia:Lua/Resources - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Resources

    Scribunto Lua reference manual; Programming in Lua; Introduction to Lua patterns; About regex. Lua "patterns" are based on Regex (Patterns are a reduced set of regex). Help:Lua metamodules: Lua in Wikipedia has several meta-modules available that can make core functions easily available.

  8. Comparison of programming languages (string functions)

    en.wikipedia.org/wiki/Comparison_of_programming...

    C: String.format(formatstring, items) Java: C: String.Format(formatstring, items) VB .NET, C#, F#.NET (format formatstring items) Scheme (SRFI 28) Lisp (format nil formatstring items) Common Lisp: Lisp (format formatstring items) Clojure: Lisp formatstring-f items: Windows PowerShell.NET [NSString stringWithFormat:formatstring, items] Objective ...

  9. Wikipedia talk:Lua style guide - Wikipedia

    en.wikipedia.org/wiki/Wikipedia_talk:Lua_style_guide

    While this page doesn't currently have anything to say about semicolons, in Lua code they're generally avoided except when necessary (i.e. a statement ending with a function call is followed by a statement starting with a parenthesized expression) or when multiple statements are on a line.