git @ Cat's Eye Technologies Bhuna / e1bca0a
Place under BSD license. Add README. Cat's Eye Technologies 12 years ago
2 changed file(s) with 89 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Bhuna is distributed under the following, BSD-compatible licenses.
1
2 All source code for the reference interpreter (except the UTF-8
3 subsystem), and all the example programs, are covered by this license:
4
5 -----------------------------------------------------------------------------
6
7 Copyright (c)2007-2012 Chris Pressey, Cat's Eye Technologies.
8 All rights reserved.
9
10 Redistribution and use in source and binary forms, with or without
11 modification, are permitted provided that the following conditions
12 are met:
13
14 1. Redistributions of source code must retain the above copyright
15 notices, this list of conditions and the following disclaimer.
16 2. Redistributions in binary form must reproduce the above copyright
17 notices, this list of conditions, and the following disclaimer in
18 the documentation and/or other materials provided with the
19 distribution.
20 3. Neither the names of the copyright holders nor the names of their
21 contributors may be used to endorse or promote products derived
22 from this software without specific prior written permission.
23
24 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
27 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
28 COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
29 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
30 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 POSSIBILITY OF SUCH DAMAGE.
36
37 -----------------------------------------------------------------------------
38
39 The UTF-8 subsystem was adapted from libutf-8, which is available from
40 http://www.whizkidtech.redprince.net/i18n/ . It is thus covered by this
41 license:
42
43 -----------------------------------------------------------------------------
44
45 Copyright (c) G. Adam Stanislav
46 All rights reserved.
47
48 Redistribution and use in source and binary forms, with or without
49 modification, are permitted provided that the following conditions
50 are met:
51 1. Redistributions of source code must retain the above copyright
52 notice, this list of conditions and the following disclaimer.
53 2. Redistributions in binary form must reproduce the above copyright
54 notice, this list of conditions and the following disclaimer in the
55 documentation and/or other materials provided with the distribution.
56
57 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
58 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
59 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
60 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
61 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
62 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
63 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
64 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
65 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
66 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
67 SUCH DAMAGE.
0 Bhuna
1 =====
2
3 Bhuna is a small, garbage-collected language with a simple syntax, closures,
4 inferred types, lightweight processes, and support for UTF-8 source code.
5
6 It was implemented partly to see how closely I could match the performance
7 of Lua's interpreter.
8
9 It is not well-specified; it was designed more-or-less by fiat of building
10 the interpreter. I originally wrote it on FreeBSD, while figuring out how
11 to implement closures (the hard way.) So for the longest time, building it
12 required BSD `make` and the associated support files from FreeBSD. Now,
13 however, it has a self-contained `Makefile` and can be built with GNU `make`.
14
15 It is also now covered under a BSD-style license; see the file `LICENSE`.
16
17 The Bhuna project is basically dead. See [Kosheri][] for a virtual machine
18 that sprang from its ashes.
19
20 [Kosheri]: https://github.com/catseye/Kosheri