Giter Site home page Giter Site logo

daniel-p-gonzalez / bon Goto Github PK

View Code? Open in Web Editor NEW
312.0 312.0 14.0 188 KB

Bon is a programming language designed with simplicity, performance, and safety in mind.

License: MIT License

Shell 0.35% CMake 0.36% C++ 98.02% C 0.06% Python 1.08% Dockerfile 0.09% Batchfile 0.05%

bon's People

Contributors

daniel-p-gonzalez avatar edthepro101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bon's Issues

Small typo ;-)

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.

Is this project dead?

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.

Is this project dead?

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.

Ad

This issue promotes a language with similar aesthetics: angle

Implement memory management

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 Programming Language already exists

'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.

Does it work on macOS?

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.

Remove LLVM dependency

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.

Difference to Julia?

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!

Benchmark sources

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?

Wasm

Can you target wasm via llvm (yet)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.