daniel-p-gonzalez / bon Goto Github PK
View Code? Open in Web Editor NEWBon is a programming language designed with simplicity, performance, and safety in mind.
License: MIT License
Bon is a programming language designed with simplicity, performance, and safety in mind.
License: MIT License
This looks very nice. I have to try it soon. Found a small typo in the README.md, under Safety:
"defining recusive data types", missing "r" in second word.
What are the main conceptual differences to crystal?
Hi!
Going through Bon and I realize it is a great option for general purpose software. I would like to know if it is still being worked on and whether the future holds for this fantastic language.
Hi!
Going through Bon and I realize it is a great option for general purpose software. I would like to know if it is still being worked on and whether the future holds for this fantastic language.
This issue promotes a language with similar aesthetics: angle
Add an instruction/example how to do a call to a C function or lib (it doesn't really matter if it is a bit hardcoded for now).
Provide a BNF Grammar of the language
Currently, all constructed objects are heap allocated, and subsequently leaked.
The semantics for automatic memory management need to be defined and implemented.
WIP documentation here in the auto_mem branch.
'Bon' was invented by the programming pioneer Kenneth Lane Thompson (inventor of 'B' & co-inventor of Unix), in 1969 and became precursors of the C language. It was named after his wife Bonnie according to himself (or the tibetan religion Bön according to his colleague Dennis Ritchie [inventor of C & co-inventor of Unix])
Honestly we don't need a new programming language. Rather we need a reunified, platform independent, aot-compiled, modernized 'C' based on the experience from ANSI C, C++, C--, Objective C, C#, JAVA, Go etc.
Has Bon been tested on macOS? When I try to run ./build.sh
, I get this:
./build.sh: line 5: cmake: command not found
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
Adding ~/.bon//bin to PATH
Run "source ~/.bashrc" to refresh your environment
I then tried source ~/.bashrc
, but I'm not sure what the result was.
Then bon/build
folder is empty, and I can see no ~/.bon
either.
Attempting to keep LLVM up-to-date while also working on new features has ground progress down to a halt. Removing the LLVM dependency until the language is closer to being stable will help get this project back up and running.
A straight forward option is to emit c in the code generator, allowing the use of gcc/clang/etc.
Hi,
I just had a small look here without installing it yet. Wanted to ask whether there are some benefits compared to Julia:
https://julialang.org
It uses jit as well and has a nice package support. As far as I know it isn't possible to precompile it yet though.
Thanks!
Is there any chance you could publish the benchmarks so that I could try it out on my own machine and compare with more languages?
Can you target wasm via llvm (yet)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.