Skip to content

Commit 2c839a4

Browse files
Merge pull request #5 from gianzellweger/dev
RELEASE 0.3.0: You cannot recognise the language anymore
2 parents b8fa0e8 + 83e8110 commit 2c839a4

File tree

8 files changed

+207
-54
lines changed

8 files changed

+207
-54
lines changed

.github/workflows/build.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "dev" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "dev" ]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -18,17 +18,23 @@ jobs:
1818
run: sudo apt-get install -y libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev
1919
- name: Build
2020
run: cargo build
21+
- name: Test
22+
run: cargo test
2123

2224
windows_build:
2325
runs-on: windows-latest
2426
steps:
2527
- uses: actions/checkout@v3
2628
- name: Build
2729
run: cargo build
30+
- name: Test
31+
run: cargo test
2832

2933
macos_build:
3034
runs-on: macos-latest
3135
steps:
3236
- uses: actions/checkout@v3
3337
- name: Build
3438
run: cargo build
39+
- name: Test
40+
run: cargo test

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "badlang"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Gian Zellweger <[email protected]"]
55
rust-version = "1.72.0"
66
description = "Next generation stack-based programming language"
@@ -18,7 +18,7 @@ tauri-build = "1.5.1"
1818

1919
[dependencies]
2020
argon2 = "0.5.2"
21-
clap = { version = "4.4.3", features = ["derive"] }
21+
clap = { version = "4.4.3", features = ["derive", "cargo"] }
2222
colored = "2.0.4"
2323
fastrand = "2.0.0"
2424
geocoding = "0.4.0"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This revolutionary blazingly fast example shows the grace of stack-based program
2020

2121
### Hello world
2222

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

2525
---
2626

@@ -39,7 +39,7 @@ Or with three numbers:
3939

4040
### Comments
4141

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

4444
## Contributing
4545

examples/empty.bl

Whitespace-only changes.

examples/hello.bl

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
100 coment d no_coment
2+
108 coment l no_coment
3+
114 coment r no_coment
4+
111 coment o no_coment
5+
87 coment W no_coment
6+
32 coment space no_coment
7+
111 coment o no_coment
8+
108 coment l no_coment
9+
dup coment l no_coment
10+
101 coment e no_coment
11+
72 coment H no_coment
12+
print
13+
print
14+
print
15+
print
16+
print
17+
print
18+
print
19+
print
20+
print
21+
print
22+
print

rust-toolchain

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nightly

0 commit comments

Comments
 (0)