Resources : Programming Resources : Featured Resources
Java/Scheme Interface, for creating a dual-language system. Logically, Java keeps track of objects and data, and Scheme tracks operations and decisions (possibly with a codelet system). Here is the Java Code and the Scheme Code.
Bit Code Examples:
Bit Code is an attempt to make a Turning Complete language with minimal commands; in fact, only two: one to increment a number pointed to by a data address, and one to load a new value into the data address. For added cleverness, the data pointed to by the data address is used as the pointer to the next command, so that incrementing this number also moves on to the next command. I have a C program for generating and running random strings of bits and a GIF and FIG graphics that explain how the syntax works.
Resources : Programming Resources : Related Categories
Resources : Programming Resources : Resources in this Category
Java/Scheme Interface, for creating a dual-language system. Logically, Java keeps track of objects and data, and Scheme tracks operations and decisions (possibly with a codelet system). Here is the Java Code and the Scheme Code.
Simple, interactive game of life (cellular
automata) to practice using Java Swing classes. Zipped java files.
"Measure" class which handles physical
dimensions (mass, distance, time) and a 3-D "Vector" class that uses
it, for building physical systems in a structured, error-checking way.
Unsure status. Contained in Zip
file.
Partially constructed "ClockMaker" system for allowing
students to construct and simulate clocks and other physical systems
using a combination of physical abstractions and collision-dection
mechanisms.
Collection
of words from Aesop's Fables (does not include all stories),
formated for use in C or Java.
Scheme Code to generate J-SIM circuit
commands (similar to PSPICE) without efficiency-wasting abstractions.
As the example, a recursive, abstraction-rich definition of an adder
can be converted to an abstraction-less
definition with the Scheme
Program which keeps tracks of the inner workings of all
abstractions.
Beginning of a optimization system for
circuits, capable of breaking down abstraction barriers like
consistent stages in a calculation to gain speed. Scheme code which generated (I think) a
ton of connections for a 32 bit
adder.
3-D Differential Equation Programming System, allowing one to
state interrelated equations in programs and use their solutions.
Final project for C++ class (buggy?).
Beginning of a Inter-language
communicator, written in scheme.
Scheme/C Interface, for creating a dual-language system. Based on my system for the ZephyrManager. C performs interfacing to the outside world, but the main brains of the program are left to Scheme. Scheme-Side Driver, Main Scheme Loop, C-side commands; this is a possibly-non-working adaptation of a previously working system.
Scheme
code to convert an HTML page to a structured tree (tagged lists
within tagged lists). Adaptation of a usually-working system
(confused by some bad HTML) that I made in 6.001. Possibly equivalent
to this Perl code.
C Symbol conversion
utility, which I made to allow a single program to include FFTW in both single and double
precision modes. Replaces all symbols in a list of C files with names
that include a prefix. Could be widely useful, but documentation is
thin. You can see the fftw command I
used.
Resources : Programming Resources : Links to Other Sites
If you have any questions or comments that you want to email, feel
free to contact me, at jrising@ mit.edu or with the Comments and
Questions Form. If you find any dead links, please
tell me (I will fix them)!