🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.simula
Article #431

Re: SIMULA source code

#431
From: Trond Vidar Stensby
Date: Tue, 07 Mar 1995 08:07
147 lines
5025 bytes
> Hey there,
> Recently I have been reading a manual that keeps refering to SIMULA. I have
> never seen a SIMULA program, in fact, until
> recently I had never heard of SIMULA. Is there a source on the net that has
> some SIMULA source code.....just something
> from which to get a general idea of what it looks like.

In the directory /pub/simbook at the ftp site ifi.uio.no
there are many examples from Kirkerud book about Simula.

The file /pub/simbook/README is added below.

------------------------------------------------------------------------
Trond Vidar Stensby             E-mail: Trond.Vidar.Stensby@si.sintef.no
SINTEF Applied Mathematics              tvs@si.sintef.no
Norway
------------------------------------------------------------------------

This directory contains copies of programs used as examples in

    "Object-Oriented Programming with Simula"
    by Bj|rn Kirkerud

Proposed solutions to some of the exercises are included as well.

If you discover any errors, or have any comments, please email
the author, at internet email-address:

    bjornk@ifi.uio.no


Chapter 2:

  average.sim:   The program explained in chapter 2


Chapter 3:

  isochar.sim:   Example 3.6
  encrypt.sim:   Example 3.8
  guess.sim:     Example 3.9
  countld.sim:   Proposed solution to exercise 3.5
  fibo1.sim:     Proposed solution to exercise 3.8 (first program)
  fibo2.sim:     Proposed solution to exercise 3.8 (second program)
  skater.sim:    Proposed solution to exercise 3.9

Chapter 4:

  histo1.sim     Program 1 constructed in chapter 4 (section 4.7, figure 4.3)
  histo2.sim     Program 2 constructed in chapter 4 (section 4.10)
  histo3.sim:    Proposed solution to exercise 4.1 (A robust histogram program)


Chapter 5:

  histofil.sim:  Program for writing histograms to file (constructed
                 in section 5.2.2)


Chapter 6:

  binsearch.sim:      Example 6.2: Procedure for binary search in a sorted
table
  binsearchtest.sim:  A program that tests the procedure in binsearch.sim
  quicksort.sim:      Example 6.3: Procedure for sorting
  quicksorttest.sim:  A program that tests the procedure in quicksort.sim
  dates.sim:          Proposed solution to exercises 6.7, 6.9, 6.10: Handling
dates
  arrayproc.sim:      Proposed solutions to exercises 6.15, 6.17: Array
procedures


Chapter 7:

  weather.sim:   The program constructed in chapter 7


Chapter 8:

  stud1.sim:     The program constructed in chapter 8 (sections 8.17, 8.18)


Chapter 10:

  nim.sim:       The Nim-playing program constructed in chapter 10


Chapter 11:

  profile.sim:   The program constructed in chapter 11 (section 11.1)


Chapter 12:

  dfweather,sim: The program constructed in chapter 12 (section 12.9)


Chapter 14:

  studchain.sim:  The program constructed in chapter 14, section 14.3

  settools.sim:   Extended and corrected version of the class described
                  in section 14.5 and appendix D

  studset.sim:    The program constructed in chapter 14, section 14.5

  postoffice.sim: The program constructed in chapter 14, section 14.8



Three classes not mentioned in the book "Object-Oriented Programming with
Simula",
but which may be of interest:


  texttools.sim:   A class that contains tools (procedures)
                   for handling texts

  promptools.sim:  A class that contains tools that may be used to read
                   simple values (numbers, characters, texts, truth values)
                   after prompting the user

  filetools.sim:   A class that contains tools for writing and reading
                   simple values on file.


These classes are used in the following programs

  studchain2.sim: Revised version of the program constructed in
                  chapter 14, example 14.1

  studset2.sim:   Revised version of the program constructed in
                  chapter 14, example 14.1

  examset.sim:    Revised version of the program constructed in section 14.7








--
------------------------------------------------------------------------
Trond Vidar Stensby             E-mail: Trond.Vidar.Stensby@si.sintef.no
SINTEF Applied Mathematics              tvs@si.sintef.no
Technical Details
Message-ID: <199503070924.EAA67895@atlanta.american.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!cs.utexas.edu!swrinde!gatech!paladin.american.edu!auvm!SI.SINTEF.NO!tvs

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113dd9,dfb8777f064b3323
X-Google-Attributes: gid113dd9,public
X-Google-ArrivalTime: 1995-03-07 01:29:17 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!cs.utexas.edu!swrinde!gatech!paladin.american.edu!auvm!SI.SINTEF.NO!tvs
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.simula
Message-ID: <199503070924.EAA67895@atlanta.american.edu>
Date: Tue, 7 Mar 1995 09:07:45 +0100
Sender: The SIMULA Language List <SIMULA%UGA.BITNET@VTBIT.CC.VT.EDU>
Comments: Warning -- original Sender: tag was NETNEWS@AUVM.AMERICAN.EDU
From: Trond Vidar Stensby <tvs@SI.SINTEF.NO>
Organization: SINTEF Oslo, Norway
Subject: Re: SIMULA source code
Lines: 146