first.go: a lil' esolang

  • 4 Replies
  • 207 Views
*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 648
    • Thinkbots are free
first.go: a lil' esolang
« on: June 22, 2018, 03:36:33 pm »
Hi guys,

I made a little esoteric language, here, while learning Golang. Feel free to play with it and tell me what you think!
 :)
Thinkbots are free, as in 'free will'.

*

ivan.moony

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1061
    • Structured Type System
Re: first.go: a lil' esolang
« Reply #1 on: June 22, 2018, 03:55:35 pm »
Just a suggestion, maybe Booleans could use an empty string for false and everything else for true.
« Last Edit: June 22, 2018, 04:35:46 pm by ivan.moony »
Dream big. The bigger the dream is, the more beautiful place the world becomes.

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 648
    • Thinkbots are free
Re: first.go: a lil' esolang
« Reply #2 on: June 22, 2018, 10:05:58 pm »
I understand your logic, it seems natural, and that's how most languages behave.
My logic is:
- only zero is full false
- only one is full true
- everything else is somewhere between full false and full true
- if something isn't full true, it's not "true", hence it's false
Weird?  ::)
Thinkbots are free, as in 'free will'.

*

korrelan

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1010
  • Look into my eyes! WOAH!
    • Google +
Re: first.go: a lil' esolang
« Reply #3 on: June 22, 2018, 10:12:58 pm »
Null?

 :)
It thunk... therefore it is!

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 648
    • Thinkbots are free
Re: first.go: a lil' esolang
« Reply #4 on: June 22, 2018, 10:55:28 pm »
Almost! :P
Thinkbots are free, as in 'free will'.