-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from Wopslang/dev-v0.1
π v0.1
- Loading branch information
Showing
37 changed files
with
2,490 additions
and
2,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BasedOnStyle: Google | ||
ColumnLimit: 400 | ||
--- | ||
Language: Cpp | ||
DerivePointerAlignment: false | ||
--- | ||
Language: Proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Pull Request | ||
on: [pull_request] | ||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
trunk_check: | ||
name: Trunk Check Runner | ||
runs-on: ubuntu-latest | ||
permissions: | ||
checks: write # For trunk to post annotations | ||
contents: read # For repo checkout | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Trunk Check | ||
uses: trunk-io/trunk-action@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,60 @@ | ||
# | ||
# .github/workflows/ubuntu.yml | ||
# Wopslang Github CI (Action) | ||
# | ||
# 2023, Wops Team | ||
# | ||
|
||
name: CI - Ubuntu OS | ||
|
||
on: | ||
push: | ||
branches: [ main, lab ] | ||
branches: [main, lab] | ||
pull_request: | ||
branches: [ main, lab ] | ||
branches: [main, lab] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; | ||
Fizzbuzz: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; ./Wopslang fizzbuzz.wops debug > out; | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; ./Wopslang fizzbuzz.wops debug > out; | ||
Hailstone_Sequence: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; tree; ./Wopslang hailstone_sequence.wops debug > out; | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; tree; ./Wopslang hailstone_sequence.wops debug > out; | ||
Hello_Wopslang: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; tree; ./Wopslang hello_wopslang.wops debug > out; | ||
|
||
|
||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; tree; ./Wopslang hello_wopslang.wops debug > out; | ||
Multiline: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: make | ||
run: mkdir sample/lib; make CI-TEST-Wopslang; mv Wopslang sample/; | ||
- name: run | ||
run: cd sample; echo "1" > input; tree; ./Wopslang multiline.wops debug < input > out; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*out | ||
*logs | ||
*actions | ||
*notifications | ||
*tools | ||
plugins | ||
user_trunk.yaml | ||
user.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Autoformatter friendly markdownlint config (all formatting rules disabled) | ||
default: true | ||
blank_lines: false | ||
bullet: false | ||
html: false | ||
indentation: false | ||
line_length: false | ||
spaces: false | ||
url: false | ||
whitespace: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
enable=all | ||
source-path=SCRIPTDIR | ||
disable=SC2154 | ||
|
||
# If you're having issues with shellcheck following source, disable the errors via: | ||
# disable=SC1090 | ||
# disable=SC1091 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rules: | ||
quoted-strings: | ||
required: only-when-needed | ||
extra-allowed: ["{|}"] | ||
empty-values: | ||
forbid-in-block-mappings: true | ||
forbid-in-flow-mappings: true | ||
key-duplicates: {} | ||
octal-values: | ||
forbid-implicit-octal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This file controls the behavior of Trunk: https://docs.trunk.io/cli | ||
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml | ||
version: 0.1 | ||
cli: | ||
version: 1.17.1 | ||
plugins: | ||
sources: | ||
- id: trunk | ||
ref: v1.2.6 | ||
uri: https://github.com/trunk-io/plugins | ||
runtimes: | ||
enabled: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
lint: | ||
enabled: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- git-diff-check | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Wops Programming Language | ||
Copyright (c) 2021 Wops Team | ||
Copyright (c) 2023 Wops Team | ||
https://github.com/Wopslang/Wops | ||
|
||
This product is licensed under the terms of the Apache Software License 2.0. See the LICENSE file for the full license text. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.