# [[Lua]] Programming for [[Adobe Lightroom Classic]]
This is from the SDK guide, I wonder how much I can transform with an LLM to create a nice tutorial at the end of the day.
> - Lightroom Classic defines a namespace as a table containing a suite of functions. This is somewhat like the Lua module; however, Lightroom Classic does not use or support the module system that was introduced in Lua 5.1 (see http://www.lua.org/manual/5.1/manual.html#5.3).
> - Lua does not have an object-oriented programming model, but it does allow Lua tables to be used in an object-like fashion, which the Lightroom Classic SDK does. Lightroom Classic’s object and class model is derived from the one described in Chapter 16 of "Programming in Lua," available online at http://www.lua.org/pil/16.html.
> - In Lightroom Classic terminology, object and class are used in the typical object-oriented fashion: that is, a class is a description of a set of behaviors that are associated with a particular data structure, and an object is a single instance of that class.
Here's the notes that came out:
> • Lightroom Classic namespaces: Tables containing function suites
> • No Lua 5.1 module system support in Lightroom Classic
> • Lightroom Classic uses modified Lua object model
• Classes: Behavior descriptions for data structures
• Objects: Single instances of classes
> • SDK defines namespaces and classes; plug-ins cannot
> • Subset of Lua built-in features accessible in SDK environment
It's wild, It really looks like adobe lightroom is mostly programmed in lua, the lua files however are compiled lua binaries.
![[Lua programming for Adobe Lightroom Classic-1724599768427.jpeg]]