> For the complete documentation index, see [llms.txt](https://docs.luaplusplus.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luaplusplus.org/language-improvements/macros/lenient.md).

# Lenient

Developers simply interested in using the Lua++ compiler can use `--!lenient` to disable the strict type checker. Although using this macro is strongly discouraged as it will make code management much more difficult, it could be helpful when looking to compile basic Lua scripts that can be run on the Lua++ VM.

```lua
--!lenient

local v = 100     -- no error because macro is defined
print(v)
```
