Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Syntax Du Jour

Name: Anonymous 2013-01-06 21:43

If you were to design a language right now which syntax tradition would you follow?

1. C/C++/C#/PHP/Perl
2. Lisp/Common Lisp/Scheme/... Lisp/... Lisp
3. ISWIM/ML/OCaml/Haskell
4. Prolog/Erlang
5. Pascal/... Pascal/... Pascal/... Pascal/... Pascal/Ada
6. FIOC
7. Bash/Ruby
8. BASIC/... BASIC/... BASIC/xBase/FoxPro/COBOL/SQL/FORTRAN77/shit
9. Other
A. Forth
B. Brainfuck
C. INI files
D. XML
E. CSV

Name: Anonymous 2013-01-06 21:44

F. Symta

Name: Anonymous 2013-01-06 21:45

FIOC'd Lisp.

Name: Anonymous 2013-01-06 21:45

3

Name: Anonymous 2013-01-06 22:43

There's only one option and answer, Symta has perfected syntax to an art.

Name: Anonymous 2013-01-06 22:49

1. Lisp for its minimalism and flexibility.
2. FIOC, though it supports pig disgusting one-liners, is capable of very clean imperative code.
3. Objective-C for its message passage parameter syntax that I miss in other languages. Smalltalk doesn't go here because it has too much syntactic sugar I don't like.
4. C-like: C*, Java*, etc.
5. end end end: Matlab, Lua, Ruby, etc.
...
n. Bourne Shell-like: *sh, Perl, etc.

Name: Anonymous 2013-01-07 0:07

2)RISPU (set! jimmies 'rustled)
8)BEISHIKKU GOTO /b/

Name: Anonymous 2013-01-07 2:10

I would have a sh/Ada style block structure syntax where different opening statements have different end statements instead of just plain end. So at least instead of end end end it'd be fi done fi or the like.

I would steal the APL family's syntax for array literals. Write 1 3 -5 7 instead of [1, 3, -5, 7]. Binary operators would be separated from their arguments by whitespace. I might take it a step further and make the leading minus sign part of the number token. Also, you'd be able to put underscores between digits for readability (1_000_000 instead of 1000000).

I like how Clojure has special syntax to indicate tail recursion so I would want to try something like that, but with support for tail calls in general, not just recursive ones. I would also like to support a pragma (or whatever) that prohibits recursion except via tail calls. But that's beside the point.

I like the my and sub keywords in Perl and I'd probably steal those.

Name: Anonymous 2013-01-07 2:49

>>8
I would not use your language.

Name: Anonymous 2013-01-07 3:59

>>9
Or would you?

Name: Anonymous 2013-01-07 4:05

FIOC

Name: Scheme&AWK 2013-01-07 4:19

9.
 α) ATS/Ocaml
 β) BerkleyDB

Name: Anonymous 2013-01-07 4:53

>>8
>I like the my and sub keywords in Perl and I'd probably steal those.

Please, no. I don't want to waste keystrokes whenever I want to declare a lexical variable.

Name: Anonymous 2013-01-07 6:31

>>1
I pick option 2, plus maybe a few cute things like [a b . c] as a shorthand for (cons a (cons b c)).

Name: Anonymous 2013-01-07 10:20

raspberry pi config files

--hardcore hacker enthusiast

Name: Anonymous 2013-01-07 11:21

APL

Name: Anonymous 2013-01-07 11:41

brainfuck is the most beautiful language i know. too bad i gives you a headache. if you could just remove the headache-part somehow...

Name: Anonymous 2013-01-07 18:17

>>13
Would you prefer not to have any kind of syntax for declaring a variable whatsoever? Would you rather have the Python behavior where the runtime checks for a variable of that name and creates it in the local scope if it doesn't exist?

If so, you disgust me.

Name: Anonymous 2013-01-07 18:18

anus is a lesbian hacker

Name: Anonymous 2013-01-07 18:23

Would you prefer not to have any kind of syntax for declaring a variable whatsoever?
Not >>13 here, but declaring variables should not be allowed. If you need more than compile-time macros, you're doing something very wrong.

Name: Anonymous 2013-01-07 19:26

>>20
So you're against let and the like? Just like those pig disgusting ``scripting'' languages with quirky scopes where you have to quiver in fear whenever you define an inner/anonymous function?

Name: Anonymous 2013-01-08 0:37

>>21
``Quiver in fear''? Are you superstitious? Do you believe the computer will bite you if you don't walk on eggshells whenever using it? Is it a puppet that comes alive and crawls into your mouth at night to take the place of your real tongue?

Name: Anonymous 2013-01-08 0:49

1. JS

In fact, there isn't a need for another new language at all. The creation of Javascript marked the end of, and apex of, all necessary PL development.

Name: Anonymous 2013-01-08 5:37

Comparison tables on this subject: http://hyperpolyglot.org/

Name: Anonymous 2013-01-08 6:10

>>22
Is it a puppet that comes alive and crawls into your mouth at night to take the place of your real tongue?
Almost there, it is when you bite the puppet tongue in your mouth to get it away from you, only to discover you bit your own tongue, because a new scope didn't come about to shadow the real tongue. Now the puppet tongue is also your real tongue, forever. And then a lambda popped out.

Name: Anonymous 2013-01-08 7:24

>>22,25
Thanks for the nightmare fuel, faggots. Fuck.

Name: Anonymous 2013-01-08 7:25

>>22,25
Thanks for the nightmare fuel, faggots. Fuck.

Name: Anonymous 2013-01-08 7:25

>>22,25
Thanks for the nightmare fuel, faggots. Fuck.

Name: Anonymous 2013-01-08 19:35

And then a lambda popped out.
LLLLLLLLLLLEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLL
LE EGIN GRO LAMBA SCARY XD

Name: Anonymous 2013-01-08 19:37

>>29
You're no fun, spammer-kun.

>>30
LEEEELL LE KUN E/G/IN /A/NIME /B/R/A/H XD

>>31
You're no fun.

Name: Anonymous 2013-01-08 19:59

LEEEELL
Cut this out.

Name: Anonymous 2013-01-08 20:03

I would combine Lisp and Forth.

Name: Anonymous 2013-01-08 20:06

>>31
Tell that fucker to pull his head of out his ass and he'll stop.

Name: Anonymous 2013-01-08 20:20

>>30
LLLEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
>LE KUN!
>LE KIN!
<LE KUN!
EGJPMI!
EJP{IM!
EJPIN!
>>KLE KUN!

Name: Anonymous 2013-01-08 20:28

>>34
Stop mocking >>30, he already said that.

Name: Anonymous 2013-01-08 20:36

e/le/in

Name: Anonymous 2013-01-09 0:46

lein

Name: Anonymous 2013-01-09 9:51

Debugging obstacles du jour
1) STL
2) Boost

Name: Anonymous 2013-01-13 2:36

e/lf/in leid

Name: Anonymous 2013-09-01 14:20




                  /!
                  /  !
               ./   /!    ,.-─-、
             /   / /   ./     \
             ,'   、/ ./   / , '´ ̄`ヽ、!
             !   / /   / / , '´ ̄`ヽ!
          ,. '"´|  / /`"'' <_ / /
        , '´    !・/,/      `ヾ、
      /  ./   `´   ,'    !     `フ  ダメよてゐ! その瓶はニトログr
     .,'   ,' ,'  /!-‐‐!、!   ;'  !  ! `ヽ. 
     i    ! ! /,>‐-、/!  /!‐/、! ;   /       , -,
     !   .! V 7 ;'´`i  レ' ァ'-、| /!//       / ,'/)
     ,'   ,'レ'ヽ! '、 '、_り     i´i !レ' ./´        / / /-‐、
  ,/   /  '! ! ,.,.,     ' `’ !/!        _,/ 、._  -<
"´ , '  ,   ! '、    /´ ̄`i  ''! ,'   _,,.. - ''"´/!、   `ソノ-‐'
 /   /    ',  ヽ、 `    ' ,. イ /''"´'"´::::::::::::;' !:`ン ̄l|
,.'    /    !ノ   ノ,:`i  -rァ'";! !//:::::::::::::::::::::::::i  |:::::::::::::!|
    ,'  <´ _,. イ:::::/ |/  ;':/ ,'::::::::::::::::::::::::::::::ヽ、ヽー--'ソ
      / ァ'´:::::/::::::;' ム.  /:::i/:::;'::::、::;;____:::::::::::::::_>-‐'’
 / _,.>'"::::::::::;'::::::〈レ' iヽ/:::/:::::::i:::::/    ̄ ̄
r'7"´::::::::::::::::::::::i::::::::::!'、 |//::::::::::::::::;'
 !::::::::::::::::::::::::::;:!::::::::::! ,レ'>':::::::::::::::::::/

       .  . ....  . .. ::: :;  i
   . . ..  ...   . .. :: ::; '   !
      .   . ... :: :::;     /! . .. ... ::─-、
         . . :: ::; '   / / . .: :: '     \
   . ..  . .. : :: ::;   、./ ./ . .. ::'   , '´ ̄`ヽ、!
      . . .. :: ::: ;   / / . .: :;  / , '´ ̄`. ::!
    . .:: ::: : :. '"´|  / /`"'' <_ / /
. .. . .. : :: : '´   .!・/,/      `ヾ、
    ..: :: . .. :;'   `´ .. :;'. .: :;     `フ
 . :: :: ;' . :: ;' ,'  /!-‐‐!、!   ;'  ! .. : `ヽ. 
   .. :: :'. .. :; ! /,>‐-、/!  /!‐/、! ; ;  /    .. .. . . -,
  . .. :: :.. : :; V 7 ;'´`i : ::/:':ァ'-、| :/!// . .: : :: :: ' ,'/)
   . .: :   ,'レ'ヽ! '、 '、_り     i´i !レ'::/´  . : : : :: :: ;' / /-‐、
 . ..: :::   /  ..:::! ,.,.,     ' `’::!/!  . : : : : :: ,' 、._  -<
"´.: : '  ,  ..::! .::、    /´ ̄`i  .::! .'   _,,.. - ''"´/!、   `ソノ-‐'
..: :' .. :: '.. .. ::,  ヽ、 `    ' ,::イ /''"´'"´::::::::: ;' !:`ン ̄l|
::' . . : ;'    !ノ .: :::ノ,:`i  -rァ'";! !//:::::::::::::::::: :: ;. . :::::::::::::::!|
. . .: ::'  <´ _,. イ:::::/ |/  ;':/ ,'::::::::::::::::::::::: :: ヽ、ヽー--'ソ
      / ァ'´::: /::::::;' ム.  /:::i/:::;'::::、::;;____:::::::: :: _>-‐'’
:::/ _,.>'":::::: ;'::::::〈レ' iヽ/:::/:::::::i:: /. .. : : :: : ̄
:::7"´:::::::::::: ::: i:::::::::: !'、 |//::::::::: :: '
 !:::::::::::::::::::::: ;:::::::::::! ,レ'>':::::::::::::::: /
(             `ヽ
 )  :  戦  せ    ノ          , '´ ̄ ̄ ̄ ̄`ヽ
(   :  争      (  :.       |   こ   え
ノ   :  だ       ノ  ::     / ./  と
|     :  わ      (  ::::::    / , ,'   :  え
.\             ) ::::     | / |     :  ら
  >ー───-、    r'  ::    / .,' '、    :  い
  /_,,..-─-、:::\ \ |  :    ,'  |::::::/\
        \:::\. ∨ -───|  ,'::::/   `' ー┐  _ノ
          ,>、|o|         !o//  `' 、 (   _ノ
:::::.......   , '/         /`          ヽ )ノ   ...:::::
   ::::...,' /   /      ,'    |    、 ヽ.  '´  ...::::
     ;' ,'   .,.'    /   ,!   ,ハ    ハ   ',  ', ;
::::: :::.....  |   /   /|メ、_,./!   /∠._ / |    |  | {
    ;l /  ,'   /'´ ̄` :::|  ,.'::::'´ ̄`ヽ|  / .|  | ..:::::.....::::::.....
     ; ,'   /! ./!  ;'´,ハ ::!/u:: ;'´,ハ  !/  !  | {
    .l |  / .| /.人 弋__ノ ::::::::::::: 弋__ノ ノ / ,'   ! l|    .......::::
 :::... } !/  !/.!:|w     ,      xw|/ /   | } ...:::::
    ::::... } |:::|::| u            u  |   ,'    .| 
 :::::.....    { ,' !人    rァ─-、    ,ハ  |   i  | l|
    ::::....../  |  |> 、 `ー‐‐┘  /.!  |  |  | l  :::::.......
      ; /  |  | 、ヽ ヽ.,___,. イ、  |  ,!   |  |      ::::...
      ;'.,'   /|  |     r!    / ヽ'  ハ  |  | {
::::::::....  l .! .,' |  |-─//|  /   / /\   !  | } :::::...
       .|  /| /  /  /[]\  //   ´ ̄`ヽ | ;    :::::....
   
   

Name: Anonymous 2013-09-01 15:52



            _,,.. --─- 、          /
       , '"´    (⌒ヽ._)ヽ、     / 河城にとり 通称 超妖怪弾頭!
   ., '⌒'く_   _,,.. --──- 、)、     |  メカの天才だ!(自称)
   i   ⌒○)'´ ‐ァ ─r‐-- 、   ヾヽ.  |
   .,'    ! /  /--_/|  /_ヽ.__ノ、.ノ  |  大天狗だってぶん殴って見せらぁ
  /   _,.ノ八  ァ'アTヽ!_/|_,ハ   ハ.   |
  !  _,.イ  ∨ヽ._り    ィ'i^Y / |  ∠   でも飛行巫女だけは勘弁な!
  | '´/   |.⊂⊃      り〈- ヘ._/   〈ー'〉
  ∨ ,'  .ノ、 ハ   r‐-、 ⊂ソ_ノ      | | \_____________
    レ⌒ヽ! \ト ..,_,,.. イ八       |_|
      /ア⌒ヾ‐-、|‐ァく´\ノ     r'{- ヽ
     / /_     \ ヽム/\     _ |_|ニ  |
      |/_7    | \/ ヽ/ヽ.   /、\ゝr__!
     ,!ヽ._     ノ  `,.♀'  ト、 /  `'ー‐'7
   /     Y-'´  / ,ハ\,イ '!      /
  /   --‐く,ハ__ /    |  |  |    /
  〈      // `ヽ   ハ.  ト、___/
.  \      | | `ソ --イ -ヽヘ、
    `i'ー-、.」_|-イ         ヽ.
     \_/   /    i      \

Don't change these.
Name: Email:
Entire Thread Thread List