<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Gian&nbsp;<div><br></div><div>I tried compiling urblog yesterday</div><div><br></div><div>first it failed with :</div><div><br></div><div>manu@chleb:~/Code/Ur/urblog$ urweb urblog<br>unhandled exception: Io: openIn "list.ur" failed with SysErr: No such file or directory [noent]</div><div><br></div><div>I assumed it could not find the Ur basis library (not sure how this works by the way)</div><div>so I copied list.ur, list.urs, string.ur, string.urs into the urblog folder</div><div><br></div><div>then it failed with :</div><div><br></div><div>manu@chleb:~/Code/Ur/urblog$ urweb urblog</div><div>unhandled exception: Fail: Cjrize: EJavaScript remains<br><br></div><div>the manual says:&nbsp;<span class="Apple-style-span" style="font-size: 10px; "><span class="Apple-style-span" style="font-size: 12px; "></span></span></div><div><span class="Apple-style-span" style="font-size: 10px; "><span class="Apple-style-span" style="font-size: 12px; ">Cjrize :<span class="Apple-style-span" style="font-size: 10px; ">The program is translated to what is more or less a subset of C. If any use of functions as data remains at<span style="font: 12.0px Helvetica">&nbsp;</span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Helvetica; ">this point, the compiler will complain.<span style="font: 12.0px Helvetica">&nbsp;</span></div><div><br></div><div><br></div><div>Do you have an idea when I went wrong ?</div><div><br></div><div><br></div><div>Thanks for your time</div><div><br></div><div>Manu</div><div><br></div><div><div>On 15 Sep 2009, at 13:16, <a href="mailto:gdp3@cs.waikato.ac.nz">gdp3@cs.waikato.ac.nz</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><blockquote type="cite">Can you talk a bit more about the work you are doing with Ur ?<br></blockquote><blockquote type="cite">Is it something you'd be willing to share ?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I &nbsp;want to do some work with Ur/Web and I am interested in every bit<br></blockquote><blockquote type="cite">of examples I can get (beyond the demos)...<br></blockquote><br>Sure. &nbsp;I'm essentially just tinkering - trying to get my head around the<br>language. &nbsp;I've started creating a little blogging system to direct my<br>tinkering.<br><br>I have a git repository with my tinkering in it. &nbsp;However, _before_ you go<br>look at that, I should really stress that anything I'm doing here cannot<br>be considered as an example of "good style" or even "a typical program". <br>If anything, it's exactly what you would expect of somehow hacking without<br>much direction in a new language, so feel free to look, but learn from it<br>at your own risk:<br><br><a href="http://github.com/gian/urblog">http://github.com/gian/urblog</a><br><br>There is a running instance of the code at:<br><br>http://www.expdev.net:8080/Urblog/main<br><br>and an admin interface accessible at:<br><br>http://www.expdev.net:8080/Urblog/admin<br><br>(You'll notice that the 'admin interface' is currently just a renamed<br>'CRUD' example).<br><br>I think I'm _just_ getting to the point where I have enough of an<br>understanding of what's going on to be able to start coding in a more<br>systematic way, rather than<br>copying-and-pasting-and-fixing-the-compiler-errors, which has been my<br>general process up to this point.<br><br>I figure I'll get to the point of being able to call what I have a 'real<br>application' and then write up my experiences in the hope that it might be<br>useful to others.<br><br>-Gian<br><br><br><br>_______________________________________________<br>Ur mailing list<br>Ur@impredicative.com<br>http://www.impredicative.com/cgi-bin/mailman/listinfo/ur<br></div></blockquote></div><br></body></html>