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

New Programming Language

Name: Anonymous 2008-11-03 22:04

So, /prog/

You are in charge of developing a new programming language. You are not the one who has to implement it, you just have to tell the codemonkies what you want.

Some things to think about:

- syntax style
- paradigm
- garbage collection or not
- vm or compiled
- type system
- special features of the compiler or language

Name: Anonymous 2008-11-05 14:50

- syntax style
Haskell. Two-dimensional layout is the logical progression of the off-side rule.

- paradigm
Emphasize functional and pure, but allow imperative and impure to help get shit done.

- garbage collection or not
Yes, but allow the programmer to give hints on when a variable should leave memory.

- vm or compiled
Compiled.

- type system
Strong static with type inference.

- special features of the compiler or language
Optimize recursion. Type classes for pure data structures, regular OO classes for impure.

Name: Anonymous 2008-11-05 15:48

>>41
I think you just described C++0x

Name: Anonymous 2008-11-05 15:51

>>42
Except not

Name: Anonymous 2008-11-05 16:02

>>42

int main() {
    [](){}();
    []{}();
}


Do not fucking want.

Name: Anonymous 2008-11-05 16:26

>>44
I can't get that to compile with G++'s "--std=c++0x" flag. What's it supposed to do?


test.cpp: In function ‘int main()’:
test.cpp:2: error: expected primary-expression before ‘[’ token
test.cpp:2: error: expected primary-expression before ‘]’ token
test.cpp:2: error: expected `;' before ‘{’ token
test.cpp:2: error: expected primary-expression before ‘)’ token
test.cpp:3: error: expected primary-expression before ‘[’ token
test.cpp:3: error: expected primary-expression before ‘]’ token
test.cpp:3: error: expected `;' before ‘{’ token
test.cpp:3: error: expected primary-expression before ‘)’ token

Name: Anonymous 2008-11-05 16:46

>>45
Nothing.

Name: Anonymous 2008-11-05 20:29

>>45
Looks like you'll need to get a Sepplesox-compliant compiler, sonny.

Name: Anonymous 2008-11-06 1:03

>>41
Sounds like Mercury.

Name: Anonymous 2008-11-13 10:37

>>6
- syntax style
English.

ada, anyone?

Name: Anonymous 2008-11-13 22:35

COBOL mixed with FORTRAN mixed with MUMPS

Name: Anonymous 2008-11-15 18:08

>>49
Applescript.

Name: Anonymous 2008-12-07 1:35

Here is my idea for a good Programming Language:

* It combines from all programming language, including C, Basic, InterCal, Brainfuck, JavaScript, Lisp, PHP, Perl, SQL,etc. (including ABSTAIN,REINSTATE,FORGET in InterCal)
* It has force variable data types, but you don't have to use those; it also works without them.
* Both structure and un-structure commands
* Macros that you can do replacement with, for example: Macro(nlist a_ b_ = List.Ad1,a_,b_ qlist replace List in nlist)
* Values also have properties that don't do anything, but strings will be arrays of characters, so a property(type=string) will be one of them
* New types of numbers and everything can be made up using combinators and lambdas
* All kind of data types, arrays, strings(arrays), lists(arrays), numbers, bit, bitseq(arrays), functions, objects, functions-of-objects, sets, structured types, puding, references, pointers, etc.
* Short syntax for everything, like @(counts>256?{#pr.3(counts);call}) for a if command
* Communicate outside the program will be a separate object that will be call from outside to inside the program

Name: Anonymous 2008-12-07 1:57

>>52
1/10

Name: Anonymous 2008-12-07 2:33

>>52
FUCK I RAGED.
10/10.
This is the best troll ever

Name: Anonymous 2008-12-07 15:46

>>51

WIN!

Name: Anonymous 2008-12-07 16:07

>>49
Inform 7 (it's turing complete hurdurf)

Name: Anonymous 2008-12-07 17:52

>>56
You mean touring complete... dumbass.

Name: Anonymous 2010-12-06 11:47

>>1
Live your dream. Make the language as complex as possible.
Be a Liberated Haskell Programmer~

Name: Anonymous 2010-12-06 12:00

>>61
Please do not engage in discussions in necrothreads.

Name: Anonymous 2010-12-06 15:29

- syntax style
ASM

- paradigm
procedural

- garbage collection or not
No, GC is considered harmful

- vm or compiled
Compiled.

- type system
Strong static with type inference.

- special features of the compiler or language
optimized fib

Name: Anonymous 2010-12-06 15:39

>>62
- syntax style
ASM

What syntax?

Name: Anonymous 2010-12-06 16:44

We should solve some trivial problems in what we think all languages described in this thread would be like.

Name: Anonymous 2010-12-06 18:18

>>63
What
I think you mean which. >>62 probably means Intel syntax.

Name: Anonymous 2010-12-06 18:45

>>65
No, as in, ASM doesn't have syntax.

Name: Anonymous 2010-12-06 19:04

>>65
I meant what. See >>66

Name: Anonymous 2010-12-06 20:27

>>66,67
Wow, and yet I very strongly prefer Intel syntax to AT&T. Well, I guess I should quit bitching about FIOC now, because it doesn't have syntax either.

Name: Anonymous 2010-12-07 8:48

>>68
It has the forced indentation of code.

Name: Anonymous 2010-12-07 10:41

How about just reimplementing Haskell Prelude from scratch this time according to the Category Theory? As a language Haskell is nearly perfect, we just need better libraries.

Name: Anonymous 2010-12-07 10:51

How about just reimplementing Common LISP standard libraries from scratch this time using Scheme's naming convention? As a language Common LISP is nearly perfect, we just need consistency.

Name: Anonymous 2010-12-07 11:15

>>71
We don't need names that aren't even pronounceable in theory without turning spoken Lisp into a tonal language. Not to mention the semantic issues with using “?” to mark predicates. A predicate is an assertion, not a question. “?” functions had better be returning #y or #n, not #t or #f, or you've just compounded your Lisp fail with a natlang fail. Common Lisp could use some regularization, but there's no need to import Schemeish brain damage.

Name: Anonymous 2010-12-07 11:16

How about just reimplementing C++ standard libraries from scratch this time using Java's API? As a language C++ is nearly perfect, we just need ENTERPRISE.

Name: Anonymous 2010-12-07 11:17

>>72
Fuck off and die, ``faggot''.
Also, 7/10.

Name: Anonymous 2010-12-07 15:40

- syntax style

similar to C

- paradigm

functions, and variables, and at least a do while loop

- garbage collection or not

does that mean I don't have to free()? yes

- vm or compiled

i have to be able to run it with #!

- type system

what is that

- special features of the compiler or language

easy to use, and i want t obe able to make pages with it

Name: Anonymous 2010-12-07 16:24

>>74
Wait, he was trolling? 10/10. I raged more than once.

Name: Anonymous 2010-12-07 17:16

>>69
Ah but that's a syntax concern, and languages don't have syntax.

Name: Anonymous 2010-12-07 17:27

>>77
No, ASM doesn't have syntax. You're confused.

Name: Anonymous 2010-12-07 20:12

>>78
Right, because no language has syntax.

Name: GvR 2010-12-08 7:20

>>75
Oh, hi!

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