Re: [go-nuts] Re: [ANN] A BASIC compiler

2019-10-27 Thread JuciÊ Andrade
Today I learned a fellow programmer did just that! His name is Everton Marques. https://github.com/udhos/basgo On Sat, Oct 26, 2019 at 12:33 PM Robert Engels wrote: > Why not generate Go? > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group.

Re: [go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread Robert Engels
Out of curiosity only. > On Oct 26, 2019, at 10:33 AM, Robert Engels wrote: > >  > Why not generate Go? > >>> On Oct 26, 2019, at 9:40 AM, JuciÊ Andrade wrote: >>> >>  >> Feel free to classify the tool anyway you like, Anca. >> >> I don't buy the distinction between "compiler" and

Re: [go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread Robert Engels
Why not generate Go? > On Oct 26, 2019, at 9:40 AM, JuciÊ Andrade wrote: > >  > Feel free to classify the tool anyway you like, Anca. > > I don't buy the distinction between "compiler" and "transpiler" because it's > the same thing. They read code in some language and generates code in some

Re: [go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread JuciÊ Andrade
Feel free to classify the tool anyway you like, Anca. I don't buy the distinction between "compiler" and "transpiler" because it's the same thing. They read code in some language and generates code in some language. I picked C for output because it is utterly portable and everyone could enjoy

[go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread JuciÊ Andrade
I just edited the project README to clarify this point. This tool generates C code that you submits to the C compiler for your particular platform. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

Re: [go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread Anca Emanuel
Ah so it is an transpiller: https://en.wikipedia.org/wiki/Source-to-source_compiler On Saturday, October 26, 2019 at 5:03:40 PM UTC+3, Robert Engels wrote: > > Yes. I generates C code from a basic program and you compile the C. > > On Oct 26, 2019, at 8:55 AM, Anca Emanuel > wrote: > >  >

Re: [go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread Robert Engels
Yes. I generates C code from a basic program and you compile the C. > On Oct 26, 2019, at 8:55 AM, Anca Emanuel wrote: > >  > Please explain how it works. > Do you get executables from basic programs ? > > >> On Saturday, October 26, 2019 at 4:40:43 PM UTC+3, JuciÊ Andrade wrote: >> Hi,

[go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread JuciÊ Andrade
Hi, Anca. The compiler proper doesn't use C code, generated code does, it has references to some support functions. Those support functions are declared in basiclib.h and defined in basiclib.c . On Saturday, October 26, 2019 at 10:32:24 AM UTC-3, Anca Emanuel wrote: > > Why do you need C in

[go-nuts] Re: [ANN] A BASIC compiler

2019-10-26 Thread Anca Emanuel
Why do you need C in the source code ? On Saturday, October 26, 2019 at 3:16:40 PM UTC+3, JuciÊ Andrade wrote: > > https://github.com/jucie/basic > > A compiler for BASIC programming language. > > > This tool understands what is in David H. Ahl's own words "the gold > standard of microcomputer