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

Pages: 1-

my language, gecho

Name: Max 2011-09-05 0:10

I just wrote a language in C, and would love it if anyone took a chance to take a look and give some feedback. Positive or negative is fine, but i'd prefer constructive negative feedback. Maybe suggestions for improvement, or a new feature?

Thanks!

Name: Anonymous 2011-09-05 0:14

if it doesn't have at least one of the following features, it's shit:
1) lexical closures with garbage collection
2) multimethods
3) homoiconicity
4) tail recursion optimization

Name: banhammer 2011-09-05 0:14

http://xkcd.com/927/
^ demonstrates what'll probably happen with your language

Name: Max 2011-09-05 0:16

This is for educational purposes; I don't mean to use it for anything practical. What are multimethods?

Name: Anonymous 2011-09-05 0:22

>>4
a style of OOP whereby the basic unit is methods rather than classes. Methods are specialized over the types of ALL their arguments, and dispatch is dynamic, rather than static. Basically, the dispatcher inside of every method chooses the most specific implementation of the method for the types of the things that were passed, and it does so at run-time.

Name: Max 2011-09-05 0:23

>>2

It does have homoiconicity, in the way that FORTH does.

Name: Anonymous 2011-09-05 0:25

Where can we see it?

Name: Anonymous 2011-09-05 0:26

>>6
is it like Joy?

Name: Max 2011-09-05 0:27

>>7 Yah whoops I forgot to give a link ( o.O ) it's at github.com/tekknolagi/gecho/tree/testing

>>8 I've never heard of joy...

Name: Max 2011-09-05 0:30

So it's fairly similar to Joy, but has no function definitions (like BF) and no recursion because of that, but is 165x faster than Python... I'm working on IF and LOOP statements.

Name: banhammer 2011-09-05 0:35

If you want fast, use OpenCL.
If you want easy to code, use Python.

And guess what! The two can work in unison.

Name: Max 2011-09-05 0:36

>11 Stop, Jerome. Seriously.

Name: banhammer 2011-09-05 0:38

Deal with it.

Name: Anonymous 2011-09-05 0:39

Who is Jerome?

Name: banhammer 2011-09-05 0:40

He decided to identify me (partially) to get me to leave.

Name: Max 2011-09-05 0:41

>>14 Jerome is the annoying one called `banhammer`

Also, any advice syntactically or code-wise?

Name: Anonymous 2011-09-05 0:47

Jerome, leave your friend alone. Why are you so nasty?

Name: Max 2011-09-05 0:52

>>17 thank you :)

He's not nasty, just sometimes ... he enjoys trolling me wherever i post... lol.

Ideas for my code?

Name: banhammer 2011-09-05 0:58

I venture from the land known as /b/.

Name: Anonymous 2011-09-05 1:07

Well, Jerome you'd be well advised to go back whence you came from. Behaviour such as yours is not tolerated here.

Name: Max 2011-09-05 1:08

>>20 ease up on the kid, he's alright in person :)

Sorry for asking multiple times, but any ideas?

Name: banhammer 2011-09-05 1:11

>>20
u mad?

Name: Anonymous 2011-09-05 1:20

>>22
Back to /b/, please.

Name: Max 2011-09-05 1:26

>>23 He's harmless, don't worry
>>22 Jerome just stop bugging him

Name: Anonymous 2011-09-05 16:04

>>9
Where are you all coming from?!

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