https://github.com/rktjmp/fennel-macro-g
https://github.com/rktjmp/fennel-macro-g
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rktjmp/fennel-macro-g
- Owner: rktjmp
- Created: 2021-08-10T14:25:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-10T14:45:26.000Z (about 4 years ago)
- Last Synced: 2025-01-27T08:24:58.523Z (9 months ago)
- Language: Lua
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fennel-macro-g
How to disable this warning, while keeping all other normal functionality?
> WARNING: Attempting to use global os in compile scope.
> In future versions of Fennel this will not be allowed without the
> --no-compiler-sandbox flag or passing a :compilerEnv globals table
> in the options.I want the macro in macro.fnl to access `os.date` or `_G.os.date`, but can't
find a configuration that doesn't warn.```
lua demo.lua
```