2 ms·
I thought I'd reply to this with a more direct link to the examples, but ... you're not wrong at all, even after a bunch of navigation through the documentation
by rwmj 6y ago
I thought I'd reply to this with a more direct link to the examples, but ... you're not wrong at all, even after a bunch of navigation through the documentation I cannot find a single self-contained program. There are some one- or two-line examples that give it a little flavour, but nothing significant. The full program examples are zipped up and I'm not going to bother to download those.
- gkfasdfasdf 6y agoI finally found a few samples in the pdf tutorials. Agree putting some code samples front and center would be nice.
- sesm 6y agoSome code samples can be found in `test/blechc/codegeneration`, I guess they serve as compiler test cases.
- ReactiveJelly 6y ago> The full program examples are zipped up and I'm not going to bother to download those. They could at least link to a Git repo. When I click on the GitHub icon on "Download" it doesn't take me to GitHub. When I click on "Contributing to Blech" the page is empty. A repo with a README.md and bare uncommented source code would be more useful.
- turbinerneiter 6y agoHere: https://www.blech-lang.org/docs/examples/ https://www.blech-lang.org/docs/examples/ - there are three examples in the form of GitHub repos: https://github.com/frameworklabs/blinker https://github.com/frameworklabs/blinker https://github.com/frameworklabs/react https://github.com/frameworklabs/react https://github.com/mterber/blech-dcf77 https://github.com/mterber/blech-dcf77