Skip to content

Commit

Permalink
Merge pull request #5 from gianzellweger/dev
Browse files Browse the repository at this point in the history
RELEASE 0.3.0: You cannot recognise the language anymore
  • Loading branch information
gianzellweger authored Jan 4, 2024
2 parents b8fa0e8 + 83e8110 commit 2c839a4
Show file tree
Hide file tree
Showing 8 changed files with 207 additions and 54 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build

on:
push:
branches: [ "main" ]
branches: [ "dev" ]
pull_request:
branches: [ "main" ]
branches: [ "dev" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -18,17 +18,23 @@ jobs:
run: sudo apt-get install -y libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev
- name: Build
run: cargo build
- name: Test
run: cargo test

windows_build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build
- name: Test
run: cargo test

macos_build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build
- name: Test
run: cargo test
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "badlang"
version = "0.2.1"
version = "0.3.0"
authors = ["Gian Zellweger <gian.zellweger@ict-scouts.ch"]
rust-version = "1.72.0"
description = "Next generation stack-based programming language"
Expand All @@ -18,7 +18,7 @@ tauri-build = "1.5.1"

[dependencies]
argon2 = "0.5.2"
clap = { version = "4.4.3", features = ["derive"] }
clap = { version = "4.4.3", features = ["derive", "cargo"] }
colored = "2.0.4"
fastrand = "2.0.0"
geocoding = "0.4.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This revolutionary blazingly fast example shows the grace of stack-based program

### Hello world

There is no Hello World in BadLang™. Why would you want such an inefficient program that does nothing?
See [this file](https://github.com/gianzellweger/badlang/blob/release/examples/hello.bl).

---

Expand All @@ -39,7 +39,7 @@ Or with three numbers:

### Comments

There are no comments in BadLang™. All code written in Badlang™ is self-documenting.
You can start a comment using `coment` and stop it using `no_coment`.

## Contributing

Expand Down
Empty file added examples/empty.bl
Empty file.
22 changes: 22 additions & 0 deletions examples/hello.bl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
100 coment d no_coment
108 coment l no_coment
114 coment r no_coment
111 coment o no_coment
87 coment W no_coment
32 coment space no_coment
111 coment o no_coment
108 coment l no_coment
dup coment l no_coment
101 coment e no_coment
72 coment H no_coment
print
print
print
print
print
print
print
print
print
print
print
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly
Loading

0 comments on commit 2c839a4

Please sign in to comment.