Do you have examples of adding custom ":xyz" or other language extensions?

Also, are you still deciding what to do with the license (I see there
is an open issue about it)? I was thinking of using gomacro for an
internal project at work, but use of LGPL libraries is not allowed,
unfortunately.

On Fri, Apr 27, 2018 at 1:33 PM, Max <[email protected]> wrote:
>
> website: https://github.com/cosmos72/gomacro
> install: go get github.com/cosmos72/gomacro
>
> At version 2.6, gomacro has almost complete Go language support, including
> import of third-party libraries (easy on Linux, requires a recompiling on
> other platforms),
> declaring new interface types and implementing them.
>
> Extensions with respect to compiled Go:
> * integrated debugger, see https://github.com/cosmos72/gomacro#debugger
> * untyped constants can be manipulated directly at prompt, providing a handy
> arbitrary precision calculator. Example:
>   ```
>   const c = 1<<1000
>   c + 1<<500 * 1<<200
>   ```
> * implicit conversion from untyped constants to *big.Int, *big.Rat and
> *big.Float. Example:
>   ```
>   import "math/big"
>   var i *big.Int = 1<<1000
>   var r *big.Rat = 1.00000000000000000000000001
>   var f *big.Float = 1e123456
>   ```
>
> Currently missing features:
> * out-of-order code is not supported: symbols must be declared before using
> them.
> * some rarely used corner cases with interpreted interfaces are not
> implemented
>
> For a graphical front-end, see https://github.com/gopherdata/gophernotes,
> the Go kernel for Jupyter notebooks and nteract (uses a slightly older
> version of gomacro).
>
> As usual, feedback is welcome :)
>
> Max
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to