Search found 18 matches
- Thu Sep 16, 2010 11:54 pm
- Forum: The Lounge
- Topic: Question about parentheses
- Replies: 27
- Views: 56833
Re: Question about parentheses
Unbalanced code isn't really a problem at all. Because DrRacket automatically balances it no matter what you type. If you type "[cons 'a '(b c)" when you close cons it'll put a "]" whether you type ")" or "}". Plus the big plus to me isn't clarity in the brack...
Threads
I've seen some implementations utilize threads such as racket. I was wondering what the standard way is in r6rs? If there is any. I read on lambda-the-ultimate a post where they said threads or processes were a priority for the standard. I've searched the r6rs docs but haven't found much and google ...
- Sun Sep 12, 2010 10:13 pm
- Forum: The Lounge
- Topic: Question about parentheses
- Replies: 27
- Views: 56833
Re: Question about parentheses
Since I've posted I've discovered Racket which has "{" and "[" all equivalent to "(". Which is nice because I can use either at the same time so it allows me to organize my code more.
- Sun Sep 12, 2010 10:10 pm
- Forum: Scheme
- Topic: getting constant input
- Replies: 2
- Views: 12480
getting constant input
As a learning project, I'm trying to create a cli text editor like vi. I've been trying to figure out how to get a constant input coming in from the user in the terminal, but the only example I've found to get input is from a prompt function like "in-lines". I'm pretty sure I need to start...
- Thu May 20, 2010 11:56 pm
- Forum: The Lounge
- Topic: functions and variable?
- Replies: 7
- Views: 13934
Re: functions and variable?
I think I understand. Maybe a better way to code it would be like this then. thing(name) = .name=name .age=46 .alive= t Sorry I just got done with some python programing and carried over the "class thing(object):". This way I guess I could write a macro to add code from the object quoted i...
- Wed May 19, 2010 11:57 pm
- Forum: The Lounge
- Topic: functions and variable?
- Replies: 7
- Views: 13934
Re: functions and variable?
Lol yeah I come from a javascript background, so I'm not used to things like classes. Maybe by just writing .slot within the codeblock attaches it. I think that could easily be done. Can you elaborate "=-as-in definition, and =-as-in setting", if I understand what you mean I think I've don...
- Tue May 18, 2010 9:15 pm
- Forum: The Lounge
- Topic: functions and variable?
- Replies: 7
- Views: 13934
Re: functions and variable?
Ahhh... honestly I'm not sure :shock: I'm young, just getting started in programing so I only really understood 3/4 of what you wrote haha. What I was basically doing was just really putting how my mind thinks of programing on paper. Telling that while teaching myself I realized that I now saw varia...
- Tue May 18, 2010 7:44 pm
- Forum: Scheme
- Topic: cl or scheme not working on server
- Replies: 3
- Views: 10702
Re: cl or scheme not working on server
Could I just copy these to the cgi-bin where the file is located? I'm still figuring out a lot of stuff
- Tue May 18, 2010 3:15 am
- Forum: Scheme
- Topic: cl or scheme not working on server
- Replies: 3
- Views: 10702
cl or scheme not working on server
Too tired to explain much, my eyes are pulsing! Just seeing if I can get some answers Okay so I have a hosting account that has cgi. I've successfully tested compiled cgi by writing a really simple c program, and it works. Then I went to see if I could make my favorite language work. First I tied to...
- Sat May 15, 2010 6:52 pm
- Forum: The Lounge
- Topic: functions and variable?
- Replies: 7
- Views: 13934
functions and variable?
Just an idea or something that has been itching me for a while. I'm just getting into real programing, before I touched at some stuff like javascript but never anything big. And now that I've been learning lisp and python and playing around with them I had an "Ah..." moment. There's not mu...