Be a Supporter!

Programming Regs Lounge

  • 435,504 Views
  • 16,837 Replies
New Topic Respond to this Topic
ZiggyZack99
ZiggyZack99
  • Member since: Apr. 15, 2007
  • Offline.
Forum Stats
Member
Level 15
Melancholy
Response to Programming Regs Lounge 2012-08-04 02:51:15 Reply

At 8/3/12 01:43 AM, NinoGrounds wrote:
At 8/2/12 11:45 PM, ZiggyZack99 wrote: Nope, sites are ad-free and will always be ad-free. I don't do it to make a profit.
Then your response mood avatar is well earned

Oh, look, I'm blushing... :)


n/a

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 04:24:00 Reply

Okay, looks like I need to make some explanations first... 'doh. :)
The "pause.key" command: program stops executing until any key is pressed, but you can tell the program what key you want to be pressed to continue executing.

out "Hello World!"
pause.key(key_enter)
end

So the program will stop executing until the [Enter] is pressed. You can also have this:

out "Hello World!"
pause.mouse(left_click)
end

But also this:

out "Hello World!"
pause.mouse(left_click, right_click, onyx)
end

I hope you know what that means. But we also have the problem where you don't know if the user will press a key or click with the mouse to continue. Problem solved in RFPL:

out "Hello World!"
pause.key.mouse(left_click, right_click, onyx)
end

Any further questions?

Looks pretty neat; Is your language going to be object-oriented, functional, procedural or a combination of the three?

I hope it will the combination of the three... I don't know yet.

Also how do you plan on handling user defined sub-routines? Looks like you're going a sort of Python or Lua route with your syntax, so something like them maybe?

Sub-routines? You mean, classes?


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 04:47:53 Reply

eventually im gonna make a language where all the functionality is going to be done using the lyrics from rick astley's never gonna give you up

Unless its already been done :(

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 04:56:39 Reply

At 8/4/12 04:47 AM, PMMurphy wrote: eventually im gonna make a language where all the functionality is going to be done using the lyrics from rick astley's never gonna give you up

Unless its already been done :(

Give us some syntax examples.


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 05:06:33 Reply

At 8/4/12 04:56 AM, doodle-bread14 wrote: Give us some syntax examples.

That would require a lot of thought and work. I just now thought of it seeing your language you are working on.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 05:08:19 Reply

At 8/4/12 05:06 AM, PMMurphy wrote:
At 8/4/12 04:56 AM, doodle-bread14 wrote: Give us some syntax examples.
That would require a lot of thought and work. I just now thought of it seeing your language you are working on.

Creativity strikes! :D


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 05:15:10 Reply

being manic sucks balls. I havn't done anything productive for 3 days and ive only spet 3- 4 hours.

Also i piss everyone off i talk to.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 05:37:12 Reply

Also i piss everyone off i talk to.

You don't. What makes you think that?


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 05:38:16 Reply

I don't know. Probably my fucked up brain.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 05:42:10 Reply

At 8/4/12 05:38 AM, PMMurphy wrote: I don't know. Probably my fucked up brain.

I told you, man! I told you what consequences Brainfuck can leave on humans!


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 05:44:08 Reply

At 8/4/12 05:42 AM, doodle-bread14 wrote:
At 8/4/12 05:38 AM, PMMurphy wrote: I don't know. Probably my fucked up brain.
I told you, man! I told you what consequences Brainfuck can leave on humans!

lol. But i am making sure i see my psychiatrist today. I am seriously scared right now. This is a pretty bad manic episode.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 05:45:38 Reply

lol. But i am making sure i see my psychiatrist today. I am seriously scared right now. This is a pretty bad manic episode.

Scared of what?


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 05:52:09 Reply

im a psychotic.

bad manic episodes mean higher chance of psychosis. Which means higher chance of me committing murder.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 05:55:00 Reply

At 8/4/12 05:52 AM, PMMurphy wrote: im a psychotic.

bad manic episodes mean higher chance of psychosis. Which means higher chance of me committing murder.

Hold in tight, dude. You can control yourself!


At least not a muffin.

BBS Signature
PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 06:04:40 Reply

Its not really at a severe stage. But just the meer fact of it not going away is scary. Their is no current conditions right now that can provoke this manic episode. So its just really scary the fact its not going away.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 06:29:25 Reply

Well, Murphy, I hope it won't get worse...

And I discovered something in Python.

name = 'Dean O'\Bryan'
print(name)

And it will output this:

Dean O'Bryan

There are no errors, thanks to the "\".


At least not a muffin.

BBS Signature
Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Programming Regs Lounge 2012-08-04 09:40:33 Reply

At 8/4/12 06:04 AM, PMMurphy wrote: Its not really at a severe stage. But just the meer fact of it not going away is scary. Their is no current conditions right now that can provoke this manic episode. So its just really scary the fact its not going away.

Here's a thought have your thyroid checked. If that's out of whack, it could make the mania worse. It's hard to tell online through a thread post but your typing is relatively organized and if you were THAT bad, you wouldn't really be making much sense. However, you know yourself so it's definitely a good thing for you to see the dr and if you really have to, I recommend going to the ER.

If you're seriously thinking that you can hurt someone (or being a troll, at this point I can't tell and would take it seriously anyway because given what happened in Colorado...), definitely go to the ER if you can't see your dr.

If the dr taught you any relaxation techniques, use them. Go for a walk/run if you have to. Just do something that would focus the attention away from the episode.

If you're just being an idiot and saying just saying stuff for attention, I suggest you stop right now. This is not the place to do something like that.

Diki
Diki
  • Member since: Jan. 31, 2004
  • Online!
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-08-04 10:49:14 Reply

At 8/4/12 06:29 AM, doodle-bread14 wrote: name = 'Dean O'\Bryan'
print(name)

Stuff like that is why I always use double quotes for my strings; you don't need to escape apostrophes:

name = "Dean O'Bryan"
print(name)

That and I'm just used to C-style strings from writing so much C++.
And, yeah, as citricsquid pointed out: that's just plain old escaping; even PHP can do that.

Diki
Diki
  • Member since: Jan. 31, 2004
  • Online!
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-08-04 10:53:24 Reply

At 8/4/12 04:24 AM, doodle-bread14 wrote: I hope it will the combination of the three... I don't know yet.

Sounds like a good idea; that's what Lua did and it's a fantastic language.

At 8/4/12 04:24 AM, doodle-bread14 wrote: Sub-routines? You mean, classes?

No.
A sub-routine is like a function or a lambda; a block of code that can be executed multiple times elsewhere in the program.

Also: are you going to go with classical or prototypal inheritance? That's something I would have a tough time deciding on; they both have pros and cons (though I think ultimately I would go with classical).

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-04 11:20:24 Reply

At 8/4/12 10:53 AM, Diki wrote: Sounds like a good idea; that's what Lua did and it's a fantastic language.

Well then I hope I will do it too.

No.
A sub-routine is like a function or a lambda; a block of code that can be executed multiple times elsewhere in the program.

There will be sub-routines, although they need to be marked.

Also: are you going to go with classical or prototypal inheritance? That's something I would have a tough time deciding on; they both have pros and cons (though I think ultimately I would go with classical).

Prototypal - for the start.


At least not a muffin.

BBS Signature
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to Programming Regs Lounge 2012-08-04 14:08:35 Reply

At 8/4/12 09:40 AM, Jessii wrote: stuff

What the man said. Run, and/or use sedatives.

Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Programming Regs Lounge 2012-08-04 19:45:05 Reply

At 8/4/12 02:08 PM, NinoGrounds wrote:
At 8/4/12 09:40 AM, Jessii wrote: stuff
What the man said. Run, and/or use sedatives.

Man? Who? Me? I'm not a big supporter of benzos unless they're supervised very carefully by the treating physician.

PMMurphy
PMMurphy
  • Member since: May. 27, 2012
  • Offline.
Forum Stats
Member
Level 01
Artist
Response to Programming Regs Lounge 2012-08-04 21:20:47 Reply

At 8/4/12 09:40 AM, Jessii wrote: Here's a thought have your thyroid checked. If that's out of whack, it could make the mania worse. It's hard to tell online through a thread post but your typing is relatively organized and if you were THAT bad, you wouldn't really be making much sense. However, you know yourself so it's definitely a good thing for you to see the dr and if you really have to, I recommend going to the ER.

My thyroid gets checked every 2 months. Also people with psychosis can still function and create coherent thoughts and patterns. It is when we are in a deep psychosis when things really start to get fucked up. I was not expierencing a psychosis but rather just the preliminary stages into psychosis.

It is a noramal thing to experience those things with my illness so it is not emergency worthy. But thanks for the comments.-

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Programming Regs Lounge 2012-08-05 08:48:29 Reply

At 8/4/12 09:20 PM, PMMurphy wrote: It is a noramal thing to experience those things with my illness so it is not emergency worthy. But thanks for the comments.-

Yes, I know it's possible to have coherent thoughts during a manic episode but it doesn't usually happen because your brain is in overdrive. However, you coming into a public forum expressing what you did is not the best thing to do, especially when you're expressing potentially homicidal thoughts. If you're having thoughts like that, it really is best to seek support from friends/family/therapist, etc. rather than expressing it online where you might not get the right support (unless it's a specific forum for that type of thing).

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-05 10:27:49 Reply

At 8/5/12 05:56 AM, NinoGrounds wrote: i lol'd

Why did you lol'd?


At least not a muffin.

BBS Signature
Diki
Diki
  • Member since: Jan. 31, 2004
  • Online!
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-08-05 12:30:33 Reply

At 8/5/12 10:27 AM, doodle-bread14 wrote: Why did you lol'd?

Yeah it's just Google showing your geographical location because your search query was pretty much just the word "position" (if you remove the ellipse and brackets you'll get the same result).
At first I thought Google had your location wrong and you don't live in Pula, but your Newgrounds profile says you're from Croatia, so I dunno.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-05 13:38:21 Reply

At 8/5/12 12:30 PM, Diki wrote: At first I thought Google had your location wrong and you don't live in Pula, but your Newgrounds profile says you're from Croatia, so I dunno.

Maybe he leaved his phone in Pula, so...


At least not a muffin.

BBS Signature
kiwi-kiwi
kiwi-kiwi
  • Member since: Mar. 6, 2009
  • Offline.
Forum Stats
Member
Level 09
Programmer
Response to Programming Regs Lounge 2012-08-05 14:16:57 Reply

At 8/5/12 10:27 AM, doodle-bread14 wrote:
At 8/5/12 05:56 AM, NinoGrounds wrote: i lol'd
Why did you lol'd?

I don't know why he lol'd, I did because that word translates to a whole bunch of stuff from other languages if you look on google translate.
This being the most interesting of course

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-08-05 14:33:58 Reply

At 8/5/12 02:16 PM, kiwi-kiwi wrote: This being the most interesting of course

Lol! Cockjoke!


At least not a muffin.

BBS Signature