Skip to content

Commit

Permalink
Initial outline of non-code files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed May 18, 2024
0 parents commit 361fa78
Show file tree
Hide file tree
Showing 10 changed files with 181 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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.

18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature Request
about: Suggest an idea
labels: enhancement
---

### Describe The Feature

A clear and concise description of what you’d 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 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions .github/workflows/tests-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name: Comprehensive Tests

52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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 changes: 49 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 host’s 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 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export CFLAGS+=-std=c17 -pedantic -Werror

all:

Binary file added toylogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 361fa78

Please sign in to comment.