Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21bdd510fd397fe

Jump to content

Talk:Lua

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 5 months ago by ~2026-12627-08 in topic Created for political reasons?

Can embedding Lisp-like code?

[edit]

e.g.:

  quote(string)                     -> "string"
  quote(quote(expr))                -> "quote(expr)"
  quote(quasiquote(expr))           -> "quasiquote(expr)"
  quote(quasiquote(unquote(expr)))  -> "quasiquote(unquote(expr))"
  quote(unquote(expr))              -> "unquote(expr)"
  quasiquote(string)                -> "string"
  quasiquote(quote(expr))           -> "quote(expr)"
  quasiquote(quasiquote(expr))      -> "quasiquote(expr)"
  quasiquote(unquote(expr))         -> expr

Created for political reasons?

[edit]

Seems to imply Lua was created for political reasosn but no proof is provided.

"From 1977 until 1992, Brazil had a policy of strong trade barriers (called a market reserve) for computer hardware and software, believing that Brazil could and should produce its own hardware and software. In that climate, Tecgraf's clients could not afford, either politically or financially, to buy customized software from abroad; under the market reserve, clients would have to go through a complex bureaucratic process to prove their needs couldn't be met by Brazilian companies. Those reasons led Tecgraf to implement the basic tools it needed from scratch.[5]"  Preceding unsigned comment added by ~2026-12627-08 (talk) 21:42, 25 February 2026 (UTC)Reply

Truth is the restrictions on imports finished one year prior.

Problems with "Inheritance" section

[edit]

The "Inheritance" subcategory in the article is written and phrased in a way that could easily lead a reader to believe believe features such as multiple inheritance are features built into the Lua language. However, the technique is a pattern implemented using metatables, not a language feature.

While the "Object-oriented programming" category above does indeed explain that Lua doesn't have a built-in concept of classes, the addition of the class inheritance section below it seems to deviate from that tone, and it describes a niche pattern that is rarely used; it feels like somebody wrote their own little pet program in Lua and added it to the article masquerading as a feature. 24.68.84.200 (talk) 07:17, 29 September 2024 (UTC)Reply

The issue has been fixed in this edit: https://en.wikipedia.org/w/index.php?title=Lua&diff=prev&oldid=1323039620 ~2025-34505-43 (talk) 14:00, 19 November 2025 (UTC)Reply

Requested move 4 April 2025

[edit]
The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.

The result of the move request was: moved. (closed by non-admin page mover) Cremastra talk 20:20, 11 April 2025 (UTC)Reply


Lua (programming language) is clearly the WP:PRIMARYTOPIC. 2600:1700:6180:6290:E1BC:304B:79DF:C9EB (talk) 19:43, 4 April 2025 (UTC)Reply

RedactedHumanoid (talk) 19:51, 7 April 2025 (UTC)Reply
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.