.
Unregistered
Posted 1/6/2012 10:20 pm
E.g., a tree structure with nodes for conditionals, loops etc?
Quote Single Quote Nested Link
Asok
+++++12595 posts
.
Unregistered
.
Unregistered
Posted 1/6/2012 10:28 pm
Asok said: Lisp.
Can you link to an example where Lisp is used in this way?
I'm thinking of applications like complex surveys, choose-your-own-adventure stories, etc where one would like to calculate things like longest possible path from beginning to end, etc.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 10:30 pm
. said: Can you link to an example where Lisp is used in this way?
I'm thinking of applications like complex surveys, choose-your-own-adventure stories, etc where one would like to calculate things like longest possible path from beginning to end, etc.
a particular language can't do that for you. you'd need to create a class that represents all those options like a state machine.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 10:33 pm
. said: . said: Can you link to an example where Lisp is used in this way?
I'm thinking of applications like complex surveys, choose-your-own-adventure stories, etc where one would like to calculate things like longest possible path from beginning to end, etc.
a particular language can't do that for you. you'd need to create a class that represents all those options like a state machine.
What about dataflow programming languages:
http://en.wikipedia.org/wiki/Dataflow_programming
?
Quote Single Quote Nested Link
.
Unregistered
.
Unregistered
.
Unregistered
.
Unregistered
Posted 1/6/2012 11:12 pm
. said: What about dataflow programming languages:
http://en.wikipedia.org/wiki/Dataflow_programming
?
that's essentially describing a state machine.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:15 pm
. said: . said: What about dataflow programming languages:
http://en.wikipedia.org/wiki/Dataflow_programming
?
that's essentially describing a state machine.
Anyway, looking for a high-level language where control flow is a manipulable object.
Quote Single Quote Nested Link
mr the horse
#genius7840 posts
Posted 1/6/2012 11:17 pm
Can't you do this in any language with functions as first-order objects? So you just put functions in your data structure?
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:22 pm
mr the horse said: Can't you do this in any language with functions as first-order objects? So you just put functions in your data structure?
so you have this elaborate branching, looping structure within a function... how do you compute statistics on the lengths of possible paths?
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:23 pm
Learn to program. Any language can do that with enough lines of code. Use .
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:24 pm
. said: Learn to program. Any language can do that with enough lines of code. Use .
Quote Single Quote Nested Link
mr the horse
#genius7840 posts
Posted 1/6/2012 11:31 pm
. said: so you have this elaborate branching, looping structure within a function... how do you compute statistics on the lengths of possible paths?
Oh, I see what you want to do. Like if you have a choose your own adventure and you want to compute the lengths of paths given different sets of choices? So you want a graph rather than a tree?
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:31 pm
Theoretically, you can do anything with a Turing Machine made out of Lincoln Logs
\
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:32 pm
. said:
So easy. My problem with your generation.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:32 pm
mr the horse said: . said: so you have this elaborate branching, looping structure within a function... how do you compute statistics on the lengths of possible paths?
Oh, I see what you want to do. Like if you have a choose your own adventure and you want to compute the lengths of paths given different sets of choices? So you want a graph rather than a tree?
Yes, a graph object representing procedural control flow.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:35 pm
. said: So easy. My problem with your generation.
What are you even blathering about, gramps?
Quote Single Quote Nested Link
sandman
Tight Diction18805 posts
Posted 1/6/2012 11:35 pm
. said: Yes, a graph object representing procedural control flow.
Objective C.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:36 pm
. said: What are you even blathering about, gramps?
I am your supervisor asswipe. Not gramps. Not near. Jus the guy that complains to gramps (the CEO) about your shit attitude.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:38 pm
. said: . said: What are you even blathering about, gramps?
I am your supervisor asswipe. Not gramps. Not near. Jus the guy that complains to gramps (the CEO) about your shit attitude.
You have not written a single line of code in your life.
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:38 pm
sandman said: Objective C.
go deliver a pizza, Gomer
Quote Single Quote Nested Link
.
Unregistered
Posted 1/6/2012 11:42 pm
. said: You have not written a single line of code in your life.
You keep guessing tiny penis. I control your salary and your bonuses.
Quote Single Quote Nested Link