Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE IT Thanks for taking the time to improve CE. We really appreciate it. Before opening the PR, please make sure that the tests & linter pass their checks, by running `make check`. In the best case scenario, you are also adding tests to back up your changes, but don't sweat it if you don't. We can discuss them at a later date. Feel free to append your name to the CONTRIBUTORS.md file Thanks again, we really appreciate this! -->
- Loading branch information
1 parent
77870a3
commit 058dc15
Showing
5 changed files
with
26 additions
and
5 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
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,13 +1,16 @@ | ||
// Snowball compiler (MIT) /l、 | ||
// https://github.com/snowball-lang/snowball (゚、 。7 | ||
// ⠀ l、゙~ヽ | ||
// Vectors example for the lang じし(_,)ノ | ||
// Testing snowball code example じし(_,)ノ | ||
// Docs: https://snowball-lang.gitbook.io/docs/ | ||
// Note: Execute with `snowball test` command | ||
|
||
// Give the function the `@test` attribute to make it a test function | ||
// Test functions must return an integer | ||
@test | ||
func should_pass() i32 { | ||
return 1; | ||
} | ||
|
||
|
||
// Will be overriden by the test function | ||
public func main() i32 {} |
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