The Unix Heritage Society mailing list
 help / Atom feed
* [TUHS] interpreted C?
@ 2019-05-04 20:48 Larry McVoy
  2019-05-04 21:08 ` Bakul Shah
  0 siblings, 1 reply; 10+ messages in thread
From: Larry McVoy @ 2019-05-04 20:48 UTC (permalink / raw)
  To: tuhs

Decades ago there was an interpreted C in an X10 or X11 app, I believe it
came from the UK.  And maybe it wasn't X11, maybe it was Sunview? 
Whatever it was the author didn't like the bundled scrollbars and had
their own custom made one.

You could set breakpoints like a debugger and then go look around at state.

Does anyone else remember that app and what it was called?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 20:48 [TUHS] interpreted C? Larry McVoy
@ 2019-05-04 21:08 ` Bakul Shah
  2019-05-04 21:30   ` Larry McVoy
  0 siblings, 1 reply; 10+ messages in thread
From: Bakul Shah @ 2019-05-04 21:08 UTC (permalink / raw)
  To: Larry McVoy; +Cc: tuhs

The ups debugger by Mark Russell of University of Kent. It used x11 or sunview. IIRC it used a separate graphics library built directly on top of x11 (or sunview) that provided variable scrolling etc. scrolling speed and direction depended on the distance you dragged the mouse pointer from its initial position. You could click on any source like and add a break or custom code in interpreted C. You could click on the data structure window and follow linked list structures etc. The last version was 3.38 in 2003. I don’t think it works with anything more modern than gcc3. The nicest debugger I ever used.

> On May 4, 2019, at 1:48 PM, Larry McVoy <lm@mcvoy.com> wrote:
> 
> Decades ago there was an interpreted C in an X10 or X11 app, I believe it
> came from the UK.  And maybe it wasn't X11, maybe it was Sunview? 
> Whatever it was the author didn't like the bundled scrollbars and had
> their own custom made one.
> 
> You could set breakpoints like a debugger and then go look around at state.
> 
> Does anyone else remember that app and what it was called?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 21:08 ` Bakul Shah
@ 2019-05-04 21:30   ` Larry McVoy
  2019-05-04 22:05     ` Richard Salz
  2019-05-04 22:18     ` Bakul Shah
  0 siblings, 2 replies; 10+ messages in thread
From: Larry McVoy @ 2019-05-04 21:30 UTC (permalink / raw)
  To: Bakul Shah; +Cc: tuhs

That's it!  And my memory is exactly like yours, it was a pleasant debugger.
And I think you are right, the normal code was C but the break points ran
in a interpreter.  Neat tool, a shame it's not maintained.

On Sat, May 04, 2019 at 02:08:10PM -0700, Bakul Shah wrote:
> The ups debugger by Mark Russell of University of Kent. It used x11 or sunview. IIRC it used a separate graphics library built directly on top of x11 (or sunview) that provided variable scrolling etc. scrolling speed and direction depended on the distance you dragged the mouse pointer from its initial position. You could click on any source like and add a break or custom code in interpreted C. You could click on the data structure window and follow linked list structures etc. The last version was 3.38 in 2003. I don???t think it works with anything more modern than gcc3. The nicest debugger I ever used.
> 
> > On May 4, 2019, at 1:48 PM, Larry McVoy <lm@mcvoy.com> wrote:
> > 
> > Decades ago there was an interpreted C in an X10 or X11 app, I believe it
> > came from the UK.  And maybe it wasn't X11, maybe it was Sunview? 
> > Whatever it was the author didn't like the bundled scrollbars and had
> > their own custom made one.
> > 
> > You could set breakpoints like a debugger and then go look around at state.
> > 
> > Does anyone else remember that app and what it was called?

-- 
---
Larry McVoy            	     lm at mcvoy.com             http://www.mcvoy.com/lm 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 21:30   ` Larry McVoy
@ 2019-05-04 22:05     ` Richard Salz
  2019-05-04 22:23       ` Jon Forrest
  2019-05-04 22:18     ` Bakul Shah
  1 sibling, 1 reply; 10+ messages in thread
From: Richard Salz @ 2019-05-04 22:05 UTC (permalink / raw)
  To: Larry McVoy; +Cc: tuhs

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Also there was a commercial product, centerline C. Originally Saber-C.

[-- Attachment #2: Type: text/html, Size: 119 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 21:30   ` Larry McVoy
  2019-05-04 22:05     ` Richard Salz
@ 2019-05-04 22:18     ` Bakul Shah
  2019-05-05  0:07       ` Larry McVoy
  1 sibling, 1 reply; 10+ messages in thread
From: Bakul Shah @ 2019-05-04 22:18 UTC (permalink / raw)
  To: Larry McVoy; +Cc: tuhs

[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

Turns out, it is still being maintained!

https://github.com/sth/ups

Previous sourceforge site is still around and has a screenshot of ups
http://ups.sourceforge.net/

No idea if the ups-users group is around. The last time there was any activity
was in 2010 — including a post from you!

> On May 4, 2019, at 2:30 PM, Larry McVoy <lm@mcvoy.com> wrote:
> 
> That's it!  And my memory is exactly like yours, it was a pleasant debugger.
> And I think you are right, the normal code was C but the break points ran
> in a interpreter.  Neat tool, a shame it's not maintained.
> 
>> On Sat, May 04, 2019 at 02:08:10PM -0700, Bakul Shah wrote:
>> The ups debugger by Mark Russell of University of Kent. It used x11 or sunview. IIRC it used a separate graphics library built directly on top of x11 (or sunview) that provided variable scrolling etc. scrolling speed and direction depended on the distance you dragged the mouse pointer from its initial position. You could click on any source like and add a break or custom code in interpreted C. You could click on the data structure window and follow linked list structures etc. The last version was 3.38 in 2003. I don???t think it works with anything more modern than gcc3. The nicest debugger I ever used.
>> 
>>> On May 4, 2019, at 1:48 PM, Larry McVoy <lm@mcvoy.com> wrote:
>>> 
>>> Decades ago there was an interpreted C in an X10 or X11 app, I believe it
>>> came from the UK.  And maybe it wasn't X11, maybe it was Sunview? 
>>> Whatever it was the author didn't like the bundled scrollbars and had
>>> their own custom made one.
>>> 
>>> You could set breakpoints like a debugger and then go look around at state.
>>> 
>>> Does anyone else remember that app and what it was called?
> 
> -- 
> ---
> Larry McVoy                     lm at mcvoy.com             http://www.mcvoy.com/lm 

[-- Attachment #2: Type: text/html, Size: 3730 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 22:05     ` Richard Salz
@ 2019-05-04 22:23       ` Jon Forrest
  2019-05-04 22:35         ` Clem cole
  0 siblings, 1 reply; 10+ messages in thread
From: Jon Forrest @ 2019-05-04 22:23 UTC (permalink / raw)
  To: tuhs



On 5/4/2019 3:05 PM, Richard Salz wrote:
> Also there was a commercial product, centerline C. Originally Saber-C.

There's also Ch from https://www.softintegration.com/


"Ch is a C/C++ interpreter and scripting language environment."

Jon

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 22:23       ` Jon Forrest
@ 2019-05-04 22:35         ` Clem cole
  0 siblings, 0 replies; 10+ messages in thread
From: Clem cole @ 2019-05-04 22:35 UTC (permalink / raw)
  To: Jon Forrest; +Cc: tuhs

Peter Darrell did another one as a companion to the his learning C book in the mid/late 90s.  I’ll have to ask him what happened to it.  He later morphed it into VisSol which was a mathlab like language that was visual drag/drop system that was popular in the scientific community.  

Sent from my PDP-7 Running UNIX V0 expect things to be almost but not quite. 

> On May 4, 2019, at 6:23 PM, Jon Forrest <nobozo@gmail.com> wrote:
> 
> 
> 
>> On 5/4/2019 3:05 PM, Richard Salz wrote:
>> Also there was a commercial product, centerline C. Originally Saber-C.
> 
> There's also Ch from https://www.softintegration.com/
> 
> 
> "Ch is a C/C++ interpreter and scripting language environment."
> 
> Jon

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-04 22:18     ` Bakul Shah
@ 2019-05-05  0:07       ` Larry McVoy
  2019-05-05  0:15         ` Bakul Shah
  0 siblings, 1 reply; 10+ messages in thread
From: Larry McVoy @ 2019-05-05  0:07 UTC (permalink / raw)
  To: Bakul Shah; +Cc: tuhs

Does anyone know what the fix is for this:

./ci_compile_expr.c: In function 'opcode_offset':
./ci_compile_expr.c:599:11: error: 'LONGLONG_FORM_OFFSET' undeclared (first use
in this function)
    return LONGLONG_FORM_OFFSET;

On Sat, May 04, 2019 at 03:18:30PM -0700, Bakul Shah wrote:
> Turns out, it is still being maintained!
> 
> https://github.com/sth/ups
> 
> Previous sourceforge site is still around and has a screenshot of ups
> http://ups.sourceforge.net/
> 
> No idea if the ups-users group is around. The last time there was any activity
> was in 2010 ??? including a post from you!
> 
> > On May 4, 2019, at 2:30 PM, Larry McVoy <lm@mcvoy.com> wrote:
> > 
> > That's it!  And my memory is exactly like yours, it was a pleasant debugger.
> > And I think you are right, the normal code was C but the break points ran
> > in a interpreter.  Neat tool, a shame it's not maintained.
> > 
> >> On Sat, May 04, 2019 at 02:08:10PM -0700, Bakul Shah wrote:
> >> The ups debugger by Mark Russell of University of Kent. It used x11 or sunview. IIRC it used a separate graphics library built directly on top of x11 (or sunview) that provided variable scrolling etc. scrolling speed and direction depended on the distance you dragged the mouse pointer from its initial position. You could click on any source like and add a break or custom code in interpreted C. You could click on the data structure window and follow linked list structures etc. The last version was 3.38 in 2003. I don???t think it works with anything more modern than gcc3. The nicest debugger I ever used.
> >> 
> >>> On May 4, 2019, at 1:48 PM, Larry McVoy <lm@mcvoy.com> wrote:
> >>> 
> >>> Decades ago there was an interpreted C in an X10 or X11 app, I believe it
> >>> came from the UK.  And maybe it wasn't X11, maybe it was Sunview? 
> >>> Whatever it was the author didn't like the bundled scrollbars and had
> >>> their own custom made one.
> >>> 
> >>> You could set breakpoints like a debugger and then go look around at state.
> >>> 
> >>> Does anyone else remember that app and what it was called?
> > 
> > -- 
> > ---
> > Larry McVoy                     lm at mcvoy.com             http://www.mcvoy.com/lm 

-- 
---
Larry McVoy            	     lm at mcvoy.com             http://www.mcvoy.com/lm 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-05  0:07       ` Larry McVoy
@ 2019-05-05  0:15         ` Bakul Shah
  2019-05-05  0:29           ` Larry McVoy
  0 siblings, 1 reply; 10+ messages in thread
From: Bakul Shah @ 2019-05-05  0:15 UTC (permalink / raw)
  To: Larry McVoy; +Cc: tuhs

On Sat, 04 May 2019 17:07:08 -0700 Larry McVoy <lm@mcvoy.com> wrote:
> Does anyone know what the fix is for this:
>
> ./ci_compile_expr.c: In function 'opcode_offset':
> ./ci_compile_expr.c:599:11: error: 'LONGLONG_FORM_OFFSET' undeclared (first u
> se
> in this function)
>     return LONGLONG_FORM_OFFSET;

add --enable-longlong when calling configure.
This is still not enough to compile it on freebsd though.
I hacked in #include <sys/signal.h> in ifdefs.h but nope.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [TUHS] interpreted C?
  2019-05-05  0:15         ` Bakul Shah
@ 2019-05-05  0:29           ` Larry McVoy
  0 siblings, 0 replies; 10+ messages in thread
From: Larry McVoy @ 2019-05-05  0:29 UTC (permalink / raw)
  To: Bakul Shah; +Cc: tuhs

On Sat, May 04, 2019 at 05:15:40PM -0700, Bakul Shah wrote:
> On Sat, 04 May 2019 17:07:08 -0700 Larry McVoy <lm@mcvoy.com> wrote:
> > Does anyone know what the fix is for this:
> >
> > ./ci_compile_expr.c: In function 'opcode_offset':
> > ./ci_compile_expr.c:599:11: error: 'LONGLONG_FORM_OFFSET' undeclared (first u
> > se
> > in this function)
> >     return LONGLONG_FORM_OFFSET;
> 
> add --enable-longlong when calling configure.
> This is still not enough to compile it on freebsd though.
> I hacked in #include <sys/signal.h> in ifdefs.h but nope.

I got it to build on Linux 4.4.0-146-generic - cool!  Blast from the
past!
-- 
---
Larry McVoy            	     lm at mcvoy.com             http://www.mcvoy.com/lm 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-04 20:48 [TUHS] interpreted C? Larry McVoy
2019-05-04 21:08 ` Bakul Shah
2019-05-04 21:30   ` Larry McVoy
2019-05-04 22:05     ` Richard Salz
2019-05-04 22:23       ` Jon Forrest
2019-05-04 22:35         ` Clem cole
2019-05-04 22:18     ` Bakul Shah
2019-05-05  0:07       ` Larry McVoy
2019-05-05  0:15         ` Bakul Shah
2019-05-05  0:29           ` Larry McVoy

The Unix Heritage Society mailing list

Archives are clonable: git clone --mirror http://inbox.vuxu.org/tuhs

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.tuhs


AGPL code for this site: git clone https://public-inbox.org/ public-inbox