our-basic -- calog's fork of MY-BASIC
=====================================

This directory (vendor/ourbasic) is calog's vendored fork of MY-BASIC, a small
embeddable BASIC interpreter by Tony Wang.

  Upstream:  MY-BASIC  --  https://github.com/paladin-t/my_basic/
  License:   MIT (the permission notice is reproduced in the header of every
             source file: ourBasic.c and ourBasic.h)
  Copyright (C) 2011 - 2026 Tony Wang

MY-BASIC is MIT-licensed, which permits this fork. calog's modifications are marked
in-source with the comment tag "[calog fork]" and are catalogued in CHANGELOG (this
directory).

  ourBasic.c            the forked interpreter (patched)
  ourBasic.h            the forked public header (patched)
  ourBasic.c.upstream   the pristine upstream MY-BASIC source, kept as the diff
                        baseline: `diff ourBasic.c.upstream ourBasic.c` shows the fork

The internal C API keeps its upstream "mb_" prefix (renaming it would be pointless
churn). The BASIC dialect calog exposes to scripts is still called "my-basic" -- the
".bas" extension, the "mybasic" engine name, and CALOG_WITH_MYBASIC are unchanged.
"our-basic" names only this modified implementation.

--- MIT License (MY-BASIC) ---

Copyright (C) 2011 - 2026 Tony Wang

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.
