[Ur] urblog will not compile
Manu
chompmotte at yahoo.fr
Wed Sep 16 07:36:37 EDT 2009
Hi Gian
I tried compiling urblog yesterday
first it failed with :
manu at chleb:~/Code/Ur/urblog$ urweb urblog
unhandled exception: Io: openIn "list.ur" failed with SysErr: No such
file or directory [noent]
I assumed it could not find the Ur basis library (not sure how this
works by the way)
so I copied list.ur, list.urs, string.ur, string.urs into the urblog
folder
then it failed with :
manu at chleb:~/Code/Ur/urblog$ urweb urblog
unhandled exception: Fail: Cjrize: EJavaScript remains
the manual says:
Cjrize :The program is translated to what is more or less a subset of
C. If any use of functions as data remains at
this point, the compiler will complain.
Do you have an idea when I went wrong ?
Thanks for your time
Manu
On 15 Sep 2009, at 13:16, gdp3 at cs.waikato.ac.nz wrote:
>> Can you talk a bit more about the work you are doing with Ur ?
>> Is it something you'd be willing to share ?
>>
>> I want to do some work with Ur/Web and I am interested in every bit
>> of examples I can get (beyond the demos)...
>
> Sure. I'm essentially just tinkering - trying to get my head around
> the
> language. I've started creating a little blogging system to direct my
> tinkering.
>
> I have a git repository with my tinkering in it. However, _before_
> you go
> look at that, I should really stress that anything I'm doing here
> cannot
> be considered as an example of "good style" or even "a typical
> program".
> If anything, it's exactly what you would expect of somehow hacking
> without
> much direction in a new language, so feel free to look, but learn
> from it
> at your own risk:
>
> http://github.com/gian/urblog
>
> There is a running instance of the code at:
>
> http://www.expdev.net:8080/Urblog/main
>
> and an admin interface accessible at:
>
> http://www.expdev.net:8080/Urblog/admin
>
> (You'll notice that the 'admin interface' is currently just a renamed
> 'CRUD' example).
>
> I think I'm _just_ getting to the point where I have enough of an
> understanding of what's going on to be able to start coding in a more
> systematic way, rather than
> copying-and-pasting-and-fixing-the-compiler-errors, which has been my
> general process up to this point.
>
> I figure I'll get to the point of being able to call what I have a
> 'real
> application' and then write up my experiences in the hope that it
> might be
> useful to others.
>
> -Gian
>
>
>
> _______________________________________________
> Ur mailing list
> Ur at impredicative.com
> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20090916/1c2a345d/attachment-0001.htm>
More information about the Ur
mailing list