calog/LICENSE.md

65 lines
2.9 KiB
Markdown

# License
## calog
MIT License
Copyright (c) 2026 Scott Duensing
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---
## Third-party components
calog vendors the following scripting engines under `vendor/`, built from
source. Each is distributed under its own license (MIT unless noted), which
applies to its files; the full text ships alongside each engine's source.
- **Lua 5.4** — Copyright (C) 1994-2023 Lua.org, PUC-Rio. MIT License.
`vendor/lua/` (see `vendor/lua/README` and the notice in `src/lua.h`).
- **QuickJS-ng** (JavaScript) — Copyright (c) 2017-2024 Fabrice Bellard, Charlie
Gordon, and QuickJS-ng contributors. MIT License. `vendor/quickjs/quickjs.h`.
- **Squirrel 3.2** — Copyright (c) 2003-2022 Alberto Demichelis. MIT License.
`vendor/squirrel-src/COPYRIGHT`.
- **MY-BASIC** — Copyright (C) 2011-2026 Tony Wang. MIT License. Notice in
`vendor/mybasic/myBasic.h`.
> Note: `vendor/mybasic/myBasic.c` carries one small calog patch (making the
> global allocation counter `_Atomic` so interpreters are thread-safe); the
> unmodified original is preserved as `vendor/mybasic/myBasic.c.orig`.
- **s7 Scheme** — Copyright (c) Bill Schottstaedt and s7 contributors. BSD-style
license (TinyScheme lineage: use for any purpose, no royalty). Notice in
`vendor/s7/s7.c`.
- **Wren** — Copyright (c) 2013-2021 Robert Nystrom and Wren Contributors. MIT
License. `vendor/wren/LICENSE` (amalgamated into `vendor/wren/wren.c`).
> Note: `vendor/wren/wren.c` and `wren.h` carry one small calog patch adding a public
> C map-key iterator (`wrenGetMapCapacity` / `wrenGetMapEntry`), which upstream Wren
> lacks; it mirrors Wren's own internal `map_iterate`. The additions are bracketed by
> `--- calog patch ---` comments. Re-apply them if the amalgamation is regenerated from
> upstream (`util/generate_amalgamation.py`).
- **Berry** — Copyright (c) 2018-2026 Guan Wenliang and Berry contributors. MIT
License. `vendor/berry/` (see the upstream `LICENSE`).