Re: [fonc] Alternative Web programming models?

2011-06-14 Thread John Nilsson
On Mon, Jun 13, 2011 at 9:26 PM, Julian Leviston jul...@leviston.net wrote: ... also, the idea of modelling change ITSELF is an appealing one in this context, and all changes including data entry etc being simply represented as a log of mutations using the command pattern. Thus the data

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread John Nilsson
On Mon, Jun 13, 2011 at 10:02 PM, BGB cr88...@gmail.com wrote: but, what would be the gain?... the major issue with most possible graphical representations, is that they are far less compact. hence, the common use of graphical presentations to represent a small amount in information in a

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread Tristan Slominski
By parsing limits I mean the fact that the language grammar usually has to be more verbose than is required by a human to resolve ambiguity and other issues. This is mainly a problem if you start thinking of how to mix languages. To integrates say Java, SQL and regular expressions in one

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread Tristan Slominski
I had some thoughts about how to approach the issue. I was thinking that you could represent the language in a more semanticaly rich form such as a RAG stored in a graph database. Then languages would be composed by declaring lenses between them. As long as there is a lens to a editor dsl

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread John Nilsson
Thanks for the pointer. I'll have a look. BR, John Sent from my phone Den 14 jun 2011 17:17 skrev Tristan Slominski tristan.slomin...@gmail.com : I had some thoughts about how to approach the issue. I was thinking that you could represent the language in a more semanticaly rich form such as a

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread Julian Leviston
On 15/06/2011, at 1:14 AM, Tristan Slominski wrote: Just for completeness, the lenses you describe here remind me of OMeta's foreign rule invocation: Yeah, I think there is a fair amount of deep digestion required to fully grok these ideas, personally. Haha that sounds disturbing. :)

Re: [fonc] Logo and Silicon

2011-06-14 Thread Jecel Assumpcao Jr.
Karl, Here is one proposed to be buildt in Squeak http://www.computer.org/comp/proceedings/c5/2003/1975/00/19750120.pdf Thanks for the link! It looks nice. I am currently helping out with an undergraduate course on computer architecture and adopted the WinMIPS64 simulator. A more flexible

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread John Nilsson
On Tue, Jun 14, 2011 at 5:14 PM, Tristan Slominski tristan.slomin...@gmail.com wrote: Just for completeness, the lenses you describe here remind me of OMeta's foreign rule invocation: from http://www.vpri.org/pdf/tr2008003_experimenting.pdf see 2.3.4 Foreign Rule Invocation p. 27 of paper, p.

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread Michael FIG
Hi, John Nilsson j...@milsson.nu writes: So my fix is to make the separation a hidden thing, which means the program needs to be represented in something that allows such hidden things (and I don't think Unicode control characters is the way to go here). Why not crib a hack from JavaDoc and

Re: Age and Language (was Re: [fonc] Alternative Web programming models?)

2011-06-14 Thread BGB
On 6/13/2011 8:09 PM, Julian Leviston wrote: On 14/06/2011, at 7:33 AM, Casey Ransberger wrote: Kids may not have the linguistic development out of the way that one needs to do serious programming. Adults who don't already code may find themselves short on some of the core concepts that

Re: [fonc] Logo and Silicon

2011-06-14 Thread karl ramberg
On Tue, Jun 14, 2011 at 4:47 PM, Jecel Assumpcao Jr. je...@merlintec.comwrote: Karl, Here is one proposed to be buildt in Squeak http://www.computer.org/comp/proceedings/c5/2003/1975/00/19750120.pdf Thanks for the link! It looks nice. I am currently helping out with an undergraduate

Re: Age and Language (was Re: [fonc] Alternative Web programming models?)

2011-06-14 Thread Dethe Elza
On 2011-06-14, at 12:33 PM, BGB wrote: much younger, and it is doubtful people can do much of anything useful. can you teach programming to a kindergartner?... maybe not such a good idea, so, it is an issue for what a good lower-limit is for where to try. My kids learned to program around

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread John Nilsson
On both questions the answer is basically that Java was an example. I was looking for a general solution. Something that would work withoug prior assumptions about the languages involved. The problem I was thinking about was how to provide an infrastructure where in anyone could be a language

Re: Age and Language (was Re: [fonc] Alternative Web programming models?)

2011-06-14 Thread Kevin Driedger
I wonder if a thousand years ago the readers of the world thought that only certain people had an aptitude for reading. = As a professional coder and father of young children I find Dethe's anecdote of teaching his children to code/program at an early age has me thinking I need to take

[fonc] Improving efficiency of Worlds, in Software and Hardware

2011-06-14 Thread C. Scott Ananian
On Mon, Jun 13, 2011 at 11:17 AM, Alan Kay alan.n...@yahoo.com wrote: For example, take a look at Alex Warth's Worlds work (and paper) and see how that might be used to deal with larger problems of consistency and version control in a live system. I just read this paper for the first time.

[fonc] Re: Improving efficiency of Worlds, in Software and Hardware

2011-06-14 Thread C. Scott Ananian
(As a minor technical note: it appears that the implementation of flattenHistory in figure 4 occurs in the wrong order. Worlds should be committed from the root to the leaves, shouldn't they?) --scott --       ( http://cscott.net ) ___ fonc mailing

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread Ondřej Bílka
On Tue, Jun 14, 2011 at 01:04:20PM -0700, BGB wrote: On 6/14/2011 12:14 PM, Michael FIG wrote: Hi, John Nilssonj...@milsson.nu writes: So my fix is to make the separation a hidden thing, which means the program needs to be represented in something that allows such hidden things (and I

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread John Nilsson
Let say I want this then: public int totalAmmount() { return SELECT SUM(ammount) FROM Invoices WHERE invoiceNo = Invoice.currentId(); } That is now there is Java nested inside the SQL. When I ask the IDE to list all references to Invoice.currentId(), this instance should also be included.

Re: [fonc] Re: Improving efficiency of Worlds, in Software and Hardware

2011-06-14 Thread Yoshiki Ohshima
Thank you for the links, Scott! At Tue, 14 Jun 2011 21:42:17 -0400, C. Scott Ananian wrote: (As a minor technical note: it appears that the implementation of flattenHistory in figure 4 occurs in the wrong order. Worlds should be committed from the root to the leaves, shouldn't they?)

Re: [fonc] Alternative Web programming models?

2011-06-14 Thread BGB
On 6/14/2011 4:24 PM, John Nilsson wrote: Yes. And now add to that semantic editing support for such extensions automatically inherited. Things like syntax highlighting, intellisense, find references. Also interoperabilty with libs/modules in other languages is important. BR, John

Re: [fonc] Re: Improving efficiency of Worlds, in Software and Hardware

2011-06-14 Thread C. Scott Ananian
Thanks for the explanation. I think I was confused originally because your API is: in world { ... } world.commit() where I was expecting: in world { world.commit() } ie, in your API, even though the API occurs in the root context, it doesn't (usually)

Re: Age and Language (was Re: [fonc] Alternative Web programming models?)

2011-06-14 Thread Julian Leviston
On 15/06/2011, at 9:00 AM, Kevin Driedger wrote: I wonder if a thousand years ago the readers of the world thought that only certain people had an aptitude for reading. = As a professional coder and father of young children I find Dethe's anecdote of teaching his children to

Re: Age and Language (was Re: [fonc] Alternative Web programming models?)

2011-06-14 Thread Dethe Elza
On 2011-06-14, at 9:36 PM, Julian Leviston wrote: The thing that irritates me about this attitude of don't consider kids as equal is that we DO consider them as equal in other frames... we expect so much of them in terms of linguistic and cognitive development... and actually the