Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Scheme eval issues
Jens Axel Soegaard <invalid@soegaard.net> writes:

>  === context ===
> /Applications/PLT Scheme v3.99.0.12/collects/scheme/private/misc.ss:63:7

That is .  Line.. AND column numbers?  File.line.column can
reference unnamed and ambiguously named procedure text unambiguously!

How does that work with macros?  I heard a rumor on the street (Scheme
St.) that someone did a thesis (long ago?) about mapping from machine
state back to source code (file.line.col?) THROUGH (simple?) macro
transforms.  If that thesis exists, is it available on the web?

Report this thread to moderator Post Follow-up to this message
Old Post
Matt Birkholz
04-01-08 03:20 AM


Re: Scheme eval issues
Matt Birkholz skrev:
> Jens Axel Soegaard <invalid@soegaard.net> writes:
> 
>
> That is .  Line.. AND column numbers?  File.line.column can
> reference unnamed and ambiguously named procedure text unambiguously!
>
> How does that work with macros?

Could you elaborate the question?

--
Jens Axel Søgaard

Report this thread to moderator Post Follow-up to this message
Old Post
Jens Axel Soegaard
04-01-08 09:54 AM


Re: Scheme eval issues
Jens Axel Soegaard <invalid@soegaard.net> writes:

> Matt Birkholz skrev: 
>
> Could you elaborate the question?

If I evaluate this special form

(dotimes (i 'a) (display i) (newline))

and it expands to

(let ((bounds 'a))
(let loop ((i 0))
(if (fix:< i bounds)
(begin
(display i) (newline)
(loop (fix:1+ i))))))

I would expect a runtime error message like

;The object a, passed as the second argument to fix:<, is not the
;correct type.

but what source code location would be referenced, and how -- under
what conditions?

A 90% solution that was published 15 years ago would be a patent-
defensible boon.  It would be  if some of the Scheme work from 20
years ago gradually appeared on The Net (i.e. with few copy rights
withheld), so that it can be easily found and referenced as prior art.

Report this thread to moderator Post Follow-up to this message
Old Post
Matt Birkholz
04-03-08 12:56 AM


Sponsored Links




Last Thread Next Thread Next
Pages (2): « 1 [2]
Search this forum -> 
Post New Thread

Scheme archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:14 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.