Re: [racket-users] sxml:document

2018-05-13 Thread N. Raghavendra
At 2018-05-14T00:33:45-04:00, John Clements wrote: > It turns out that the “sxml:document” function looks for local files > *without* a file: prefix. So, you can just call > > (sxml:docmuent “/tmp/test.xml”) Thanks for your help. The above is not working for me: -- > (sxml:document

Re: [racket-users] sxml:document

2018-05-13 Thread 'John Clements' via Racket Users
Well, I’m the maintainer of this package, but not it’s author, and I have an answer for you, but … you’re going to be surprised. It’s pretty gross. It turns out that the “sxml:document” function looks for local files *without* a file: prefix. So, you can just call (sxml:docmuent

[racket-users] sxml:document

2018-05-13 Thread N. Raghavendra
I am new to Scheme, and have only basic experience with Emacs Lisp and Common Lisp. I want to use SXML to parse a file. So in Emacs/geiser, I load the sxml module, and evaluate (sxml:document "file:///tmp/test.xml") I get xlink:api-error: resource doesn't exist: "file:/tmp/test.xml" #f

Re: [racket-users] Student code metrics

2018-05-13 Thread Matt Jadud
Hi Stephen, I'd look at work by Andy Ko and his students, the PLT group has some work in the broad sphere of this space (not quite gamification, I don't think, but definitely work around how novices approach programming), the ACM ICER conference, and a smattering of things that appear in ACM

Re: [racket-users] Student code metrics

2018-05-13 Thread Matthias Felleisen
> On May 13, 2018, at 4:36 PM, Stephen Foster wrote: > > Hi! > > I was about to start building a tool for statically analyzing student code. > But I first want to ask if there's related work out there. > > I'm interested in relatively simple stuff -- e.g. How many

[racket-users] Student code metrics

2018-05-13 Thread Stephen Foster
Hi! I was about to start building a tool for statically analyzing student code. But I first want to ask if there's related work out there. I'm interested in relatively simple stuff -- e.g. How many functions did the student write? How many expressions? What's the average nesting depth of