Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rxwei/cool-sources
https://github.com/rxwei/cool-sources
Last synced: about 1 hour ago
JSON representation
- Host: GitHub
- URL: https://github.com/rxwei/cool-sources
- Owner: rxwei
- Created: 2016-09-24T18:58:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-24T19:01:46.000Z (over 8 years ago)
- Last Synced: 2024-11-11T22:34:20.955Z (about 2 months ago)
- Language: Cool
- Size: 31.3 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
The examples directory contains a few small and not so small
example programs which illustrate various aspects of the Cool
programming language.arith.cl Tests various aspects of arithmetic in Cool.
atoi.cl An implementation of the C function by the
same name. It converts a String into an Int.atoi_test.cl An example program using atoi.cl. Since you
will most likely use atoi.cl in the first
assignment, you should study this example.list.cl A very simple program showing how to create a
list data type for integers. It illustrates
inheritance and dynamic dispatch.book_list.cl Illustrates inheritance and in particular the
mechanism of STATIC DISPATCH and the CASE
statement.cells.cl Models a one-dimensional cellular automaton.
cool.cl An short and obscure program.
io.cl Shows how to use the IO class. (input/output)
hairyscary.cl Exercises many of the obscure features of the
language in obscure ways.hello_world.cl The classic first program.
primes.cl An unusual prime number generator.
graph.cl A program reading descriptions of weighted-
directed graphs from stdin in text format.g1.graph A sample input to graph.cl
palindrome.cl Recognizes palindromes.
complex.cl Checks the = operator and cummulative effects of
method calls via a complex number object.life.cl The classic Game of Life
sort_list.cl A more complex example sorting lists of integers.