1w6 uRPG 1w6 uRPG
  • Anmelden
  • Öffentlich

    • Öffentlich
    • Gruppen
    • Beliebt
    • Verzeichnis

Unterhaltung

Nachrichten

  1. drak drak

    Bootstrapping wisp¹ with #wisp now works²! → ¹: http://draketo.de/light/english/wisp-lisp-indentation-preprocessor ²: https://bitbucket.org/ArneBab/wisp/commits/0509e9e3418789ef307ae49b7dd862380c5c5bf8 — the magical feeling of seeing a language (dialect) grow up to live by itself: python3 wisp.py wisp-guile.w > 1 && guile 1 wisp-guile.w > 2 && guile 2 wisp-guile.w > 3 && diff 2 3 #scheme #lisp #wisp

    Tuesday, 10-Sep-13 17:01:32 UTC von web
    • zoowar zoowar

      Embrace parentheses, they are your friend. Anyway, do you plan on providing REPL support? Some lispers swear by it ;)

      Tuesday, 10-Sep-13 17:22:34 UTC
    • drak drak zoowar

      @zoowar I come from #Python, and what I love is that it reduces the redundancy between indentation and parens. Now scheme can do that, too.

      Tuesday, 10-Sep-13 20:15:51 UTC
    • zoowar zoowar

      You may be a "homoiconiphobe" #humor

      Tuesday, 10-Sep-13 20:28:22 UTC
    • drak drak zoowar

      @zoowar ☺ — keep in mind, that #wisp actually is homoiconic, because lists are displayed without parentheses, too.

      Tuesday, 10-Sep-13 22:21:21 UTC
    • drak drak zoowar

      @zoowar For technical details on #wisp, the best source is actually the comparison in SRFI-110 srfi.schemers.org/srfi-110/srfi-110.html#wisp

      Tuesday, 10-Sep-13 22:43:18 UTC
    • drak drak zoowar

      @zoowar one of the #guile folks (ijp) suggested reading up on adding wisp as a language to guile and I intend to try that. I need a REPL.

      Tuesday, 10-Sep-13 22:48:22 UTC
    • zoowar zoowar

      I'm no expert on homoiconicity, but that there are formatting requirements in the language seems to blow it. I cant write 'display display "string"', which translates incorrectly to '(display display "string")' The output is correct if the input has a newline/space between the "display" terms.

      Tuesday, 10-Sep-13 23:30:44 UTC
    • drak drak zoowar

      @zoowar afaik homoiconity just requires that the language is written in the format you use for its data.

      Tuesday, 10-Sep-13 23:39:35 UTC
    • zoowar zoowar

      I did that with my example.

      Tuesday, 10-Sep-13 23:40:05 UTC
    • drak drak zoowar

      @zoowar and that is given, because there is an exact transformation of wisp to scheme: data and code are treated the same.

      Tuesday, 10-Sep-13 23:41:40 UTC
    • zoowar zoowar

      (display (display "string"))

      Tuesday, 10-Sep-13 23:53:15 UTC
    • drak drak zoowar

      @zoowar what would you want your example to be in scheme/lisp?

      Tuesday, 10-Sep-13 23:53:47 UTC
    • zoowar zoowar zoowar

      You might have to pretend that "display" returns a string value, since I don't use scheme these days and forgot it has side effects :(

      Tuesday, 10-Sep-13 23:59:16 UTC
    • drak drak zoowar

      @zoowar that would be either 'display : display "string"' or 'display \n display "string"' — the opening paren is just spelled as '\n ' ☺

      Wednesday, 11-Sep-13 00:08:52 UTC

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Hilfe
  • Über
  • FAQ
  • AGB
  • Privatsphäre
  • Quellcode
  • Version
  • Kontakt

1w6 uRPG ist ein Mikrobloggingdienst von Arne (Drak) Babenhauserheide. Es wird mit der Mikrobloggingsoftware StatusNet (Version 1.1.1-release) betrieben, die unter der GNU Affero General Public License erhältlich ist. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 Alle Inhalte und Daten von 1w6 uRPG sind unter der Creative Commons Attribution 3.0 Lizenz verfügbar.