# Some interesting facts

* **Awesome WM** is mainly written in Lua and uses it as its configuration file format
* **Cheat Engine**, memory editor/debugger uses Lua to be embedded in its "cheat tables"
* **Conky**, a Linux system monitor, uses Lua for advanced graphics
* **CRYENGINE**, game engine, uses Lua for user scripts
* **Garry's Mod** uses Lua.

## Example of "Hello World" code written in Lua compared to other programming languages

### **Lua**

```lua
print("Hello World!")
```

### **JavaScript**

```javascript
"use strict"
console.log("Hello world!");
```

### Haskell

```haskell
module Main where

main :: IO ()
main = putStrLn "Hello, World!"
```

### **Python 3**

```python
print("Hello, world!")
```

### **Ruby**

```ruby
puts "Hello world!"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cpb.gitbook.io/book/languages/lua/misc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
