borgo
borgo copied to clipboard
Borgo is a statically typed language that compiles to Go.
License
I notice you don't specify a license in this repository (besides a reference to UPL [here](https://github.com/borgo-lang/borgo/blob/1d8d008192cb1be790422a5f2ce8c5c10213f4d8/compiler/src/exhaustive.rs#L2)) which means users have [no rights to do anything at all with this code](https://opensource.stackexchange.com/a/1721)....
While I'm not looking for a solution like this for my own work (I'm happy using Rust), I want to congratulate you on it. It addresses the weaknesses in Go...
The following code: ```rust use fmt; enum Sender { Sender } fn main() { fmt.Println("Hello") } ``` causes a panic here: https://github.com/borgo-lang/borgo/blob/main/compiler/src/codegen.rs#L2061 More generally, do you want little issue reports...
Is it possible to add iterators for slices so we can do pipeline like operations? a := [1,2,3,4] b := a | filter() | transform(f) | sum()
```rust // TODO use a proper parsing lib ``` As per comment found in main this PR adds the `clap` crate to parse the arguments and create a more standard...
The following borgo code: ```rust use fmt struct foo { val: T } impl (f: foo) { fn print() { printHelper(f) } } fn printHelper(f: foo) { fmt.Println(f.val) } fn...
Not sure what is the root cause of the issue, but compiling these code leads to stack overflow: ```rust use fmt struct Iterator { next: fn() -> Option } fn...
It would be great to add this tool to either cargo or brew (ideally both) to make it easier to install. As part of that, the compiler program should probably...
Resolves #3 I did not do anything with the test runner as I am not quite sure what to do with it so tips would be appreciated This implementation implicitly...
generated code is too junk