Initial outline of non-code files

This commit is contained in:
2024-05-19 03:47:21 +10:00
commit 361fa78ffb
10 changed files with 181 additions and 0 deletions

5
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
# These are supported funding model platforms
patreon: krgamestudios
ko_fi: krgamestudios
custom: ["https://www.paypal.com/donate/?hosted_button_id=73Q82T2ZHV8AA"]

24
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,24 @@
---
name: Bug Report
about: Create a bug report to help us improve
labels: bug
---
## Describe The Bug
A clear and concise description of the bug.
## How To Reproduce
How did you encounter the bug? Please provide step-by-step details if needed.
## Version
What version of Toy is displaying this bug?
What platform are you operating on?
### Additional Context
If there's anything else you'd like to add, please add it here.

View File

@@ -0,0 +1,18 @@
---
name: Feature Request
about: Suggest an idea
labels: enhancement
---
### Describe The Feature
A clear and concise description of what youd like to be able to do with Toy.
### Describe The Alternatives
A clear and concise description of any alternative solutions or workarounds you've considered.
### Additional Context
If there's anything else you'd like to add, please add it here.

10
.github/ISSUE_TEMPLATE/question.md vendored Normal file
View File

@@ -0,0 +1,10 @@
---
name: Question
about: Ask a Question
labels: question
---
### How can I help?
I'm always here to help with any inquiries you have regarding Toy and its related projects.

2
.github/workflows/tests-full.yml vendored Normal file
View File

@@ -0,0 +1,2 @@
name: Comprehensive Tests

52
.gitignore vendored Normal file
View File

@@ -0,0 +1,52 @@
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf

17
LICENSE Normal file
View File

@@ -0,0 +1,17 @@
Copyright (c) 2020-2024 Kayne Ruse, KR Game Studios
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

49
README.md Normal file
View File

@@ -0,0 +1,49 @@
<p align="center">
<image src="toylogo.png" />
</p>
# Toy
The Toy programming language is an imperative, bytecode-interpreted, embedded scripting language. Rather than functioning independently, it serves as part of another program—the host. This design allows for straightforward customization by both the hosts developer and end users, achieved by exposing program logic through text files.
This repository holds the reference implementation for Toy, written in C.
# Nifty Features
* Simple C-like syntax
* Intermediate bytecode interpretation
* Strong, but optional type system
* First-class and higher-order functions
* Extensible via external libraries
* Re-direct output, error and assertion failure messages
* Open source under the zlib license
## Building
*Omitted for review.*
## Tools
*Omitted for review.*
## Syntax
*Omitted for review.*
# License
This source code is covered by the zlib license (see [LICENSE](LICENSE)).
# Contributions
@hiperiondev - Disassembler, porting support and feedback
@add00 - Library support
@gruelingpine185 - Unofficial MacOS support
@solar-mist - Minor bugfixes
Unnamed Individuals - Feedback
# Patrons via Patreon
* Seth A. Robinson
Special thanks to Robert Nystrom of http://craftinginterpreters.com/ for their fantastic book that set me on this path.

4
makefile Normal file
View File

@@ -0,0 +1,4 @@
export CFLAGS+=-std=c17 -pedantic -Werror
all:

BIN
toylogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB