On Friday, December 19, 2014 2:58:21 AM UTC+1, gri wrote:
Hi anlhord;
Thanks for the info on your project. It's always fun to hack/extend an
existing language and experiment with new features.
That said, since the Go the language is frozen (besides consistency or
security fixes), and thus no language changes will be made in the
foreseeable future, experiments like this are better announced/discussed on
the golang-nuts mailing list.
Hi anlhord;
Thanks for the info on your project. It's always fun to hack/extend an
existing language and experiment with new features.
That said, since the Go the language is frozen (besides consistency or
security fixes), and thus no language changes will be made in the
foreseeable future, experiments like this are better announced/discussed on
the golang-nuts mailing list.
being rewritten from C anyway.
golang-dev should be used for planned, active library and systems
development. Thanks.
- gri
--development. Thanks.
- gri
On Thu, Dec 18, 2014 at 5:38 PM, <anl...@gmail.com <javascript:>> wrote:
hello. sure.
I've added the [] type to the go compiler. I call it untyped slice.
long term "idea" is to use this object as a building block for a full
generics.
currently I'm trying to use this in simple programs and get them to
compile.
i want the type checker to automatically determine the type of element.
this will allow short slice declaration:
foo := []{1,2,3}
bar := []{"aa","bb"}
what do you think
long term goal is to get the triple() function to work:
https://github.com/anlhord/untypedslice/blob/master/t2.go
its a test function that should work for slice of any type.
I also need every advice about how go/src/cmd/gc/
<https://goto.google.com/src/cmd/gc/> works, how to debug it how the
lex.c works
how typechecking works etc.. basically everything there is. I'm new to
compiler programming.
thank you.
--
You received this message because you are subscribed to the Google Groups
"golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to golang-dev+...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
hello. sure.
I've added the [] type to the go compiler. I call it untyped slice.
long term "idea" is to use this object as a building block for a full
generics.
currently I'm trying to use this in simple programs and get them to
compile.
i want the type checker to automatically determine the type of element.
this will allow short slice declaration:
foo := []{1,2,3}
bar := []{"aa","bb"}
what do you think
long term goal is to get the triple() function to work:
https://github.com/anlhord/untypedslice/blob/master/t2.go
its a test function that should work for slice of any type.
I also need every advice about how go/src/cmd/gc/
<https://goto.google.com/src/cmd/gc/> works, how to debug it how the
lex.c works
how typechecking works etc.. basically everything there is. I'm new to
compiler programming.
thank you.
On Thursday, December 18, 2014 6:39:56 PM UTC+1, Alan Donovan wrote:
On 15 December 2014 at 12:50, wrote:
please give me some advice
Can you explain what you're trying to do?please give me some advice
--
You received this message because you are subscribed to the Google Groups
"golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to golang-dev+...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.