Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Thinking on a new syntax for #Scheme.

Thinking on a new syntax for #Scheme.

Scheduled Pinned Locked Moved Uncategorized
wispscheme
6 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • aartaka@merveilles.townA This user is from outside of this forum
    aartaka@merveilles.townA This user is from outside of this forum
    aartaka@merveilles.town
    wrote last edited by
    #1

    Thinking on a new syntax for #Scheme. Distinguishing feature: insignificant indentation! Because it’s hard to edit #Wisp in ed.

    mdhughes@appdot.netM 1 Reply Last reply
    0
    • aartaka@merveilles.townA aartaka@merveilles.town

      Thinking on a new syntax for #Scheme. Distinguishing feature: insignificant indentation! Because it’s hard to edit #Wisp in ed.

      mdhughes@appdot.netM This user is from outside of this forum
      mdhughes@appdot.netM This user is from outside of this forum
      mdhughes@appdot.net
      wrote last edited by
      #2

      @aartaka Since Scheme is in some respects a dialect of ALGOL, just replace all the parens with BEGIN/END, & any uppercased symbol has an implicit BEGIN.

      DEFINE tf LAMBDA BEGIN test END
      IF EQUAL? test #t END
      DISPLAY "yes" END
      DISPLAY "no" END
      END END END

      #scheme #algol #end

      restorante@social.linux.pizzaR 1 Reply Last reply
      0
      • mdhughes@appdot.netM mdhughes@appdot.net

        @aartaka Since Scheme is in some respects a dialect of ALGOL, just replace all the parens with BEGIN/END, & any uppercased symbol has an implicit BEGIN.

        DEFINE tf LAMBDA BEGIN test END
        IF EQUAL? test #t END
        DISPLAY "yes" END
        DISPLAY "no" END
        END END END

        #scheme #algol #end

        restorante@social.linux.pizzaR This user is from outside of this forum
        restorante@social.linux.pizzaR This user is from outside of this forum
        restorante@social.linux.pizza
        wrote last edited by
        #3

        @mdhughes

        But, does that mean the majority of 'modern' programming languages are all descendant of ALGOL?

        That is very interesting. I read some ALGOL code and I love them.

        @aartaka

        mdhughes@appdot.netM 1 Reply Last reply
        0
        • restorante@social.linux.pizzaR restorante@social.linux.pizza

          @mdhughes

          But, does that mean the majority of 'modern' programming languages are all descendant of ALGOL?

          That is very interesting. I read some ALGOL code and I love them.

          @aartaka

          mdhughes@appdot.netM This user is from outside of this forum
          mdhughes@appdot.netM This user is from outside of this forum
          mdhughes@appdot.net
          wrote last edited by
          #4

          @restorante @aartaka Pretty much, but most just took the control structures from ALGOL, not lexical scoping or function references. Scheme got all of it.

          Like, C is a mix of ASM & ALGOL, & some FORTRAN-isms.

          kirtai@tech.lgbtK 1 Reply Last reply
          0
          • mdhughes@appdot.netM mdhughes@appdot.net

            @restorante @aartaka Pretty much, but most just took the control structures from ALGOL, not lexical scoping or function references. Scheme got all of it.

            Like, C is a mix of ASM & ALGOL, & some FORTRAN-isms.

            kirtai@tech.lgbtK This user is from outside of this forum
            kirtai@tech.lgbtK This user is from outside of this forum
            kirtai@tech.lgbt
            wrote last edited by
            #5

            @mdhughes @restorante @aartaka
            I have to wonder how much Smalltalk got.

            cdegroot@mstdn.caC 1 Reply Last reply
            0
            • kirtai@tech.lgbtK kirtai@tech.lgbt

              @mdhughes @restorante @aartaka
              I have to wonder how much Smalltalk got.

              cdegroot@mstdn.caC This user is from outside of this forum
              cdegroot@mstdn.caC This user is from outside of this forum
              cdegroot@mstdn.ca
              wrote last edited by
              #6

              @kirtai @mdhughes @restorante @aartaka Smalltalk's control structures are pretty much all higher-order polymorphic functions. I mean, it's a functional language in OO-clothing, so I'd call it quite far from ALGOL.

              My modern favorite Lisp-with-ALGOL syntax is Elixir, btw. And don't forget that LISP 2, which never happened, was slated to have ALGOL syntax so you're standing on the shoulders of giants if you do that 🙂

              1 Reply Last reply
              1
              0
              • R relay@relay.mycrowd.ca shared this topic
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups