Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #265: The mouse escaped.


comp / comp.programming.literate / [?] Adding a line directive to Ruby to improve debuging Ruby Literate programs.

SubjectAuthor
o [?] Adding a line directive to Ruby to improve debuging Ruby Literate programs.Allen Morris

1
Subject: [?] Adding a line directive to Ruby to improve debuging Ruby Literate programs.
From: Allen Morris
Newsgroups: comp.programming.literate
Organization: Tufts University EECS computing environment
Date: Fri, 4 Mar 2016 20:47 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!reader01.eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail
From: gamthree@gmail.com (Allen Morris)
Newsgroups: comp.programming.literate
Subject: [?] Adding a line directive to Ruby to improve debuging Ruby Literate programs.
Date: Fri, 4 Mar 2016 15:47:47 -0500 (EST)
Organization: Tufts University EECS computing environment
Lines: 15
Sender: nr@labrador.cs.tufts.edu
Approved: Norman Ramsey <nr@cs.tufts.edu>
Message-ID: <nbcs9j$m07$1@labrador.cs.tufts.edu>
References: <sfid-h-20160128-234541-+13.35-1@multi.osbf.lua>
NNTP-Posting-Host: HUTDZK7LJsWVPyPQdEpsVGQn4Au3HYiMPyzT5rYdE+M=
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: news.albasani.net FJQXb9r6o6RBC21/CuAyMc14mVtvCpCgTi16HA4wjlD7gqaMS5MfHHTrhpEsv4sq/YAoKRSpRATqQhipnUKLSQ==
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Fri, 4 Mar 2016 20:47:48 +0000 (UTC)
Errors-To: /dev/null
Cancel-Lock: sha1:EwaUV0kld2pZa5TaJjGM3kIptWI=
View all headers

I have written several literate programs in Ruby using noweb and I have enjoyed the experience except for debugging. The lack of a line directive in Ruby makes debugging quite challenging.

To make writing noweb Literate programs more pleasant I have submitted a patch to Ruby to add the missing line directive functionality.

Unfortunately I have not had any luck in getting this patch accepted into a Ruby release.

Below are the pull request on GitHub and the feature request on ruby-lang.

https://bugs.ruby-lang.org/issues/11181https://bugs.ruby-lang.org/issues/11181

https://github.com/ruby/ruby/pull/911

If you are interested in writing literate programs using Ruby please make comments at the above links stating your desire to have this feature in ruby or comment to improve the pull request/patch.

Allen Morris

1

rocksolid light 0.9.8
clearnet tor