GithubHelp home page GithubHelp logo

agoode / twelf-mac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jcreedcmu/twelf-mac

0.0 0.0 0.0 152 KB

License: Other

Shell 2.91% JavaScript 19.41% Python 1.53% C 56.12% Assembly 0.76% Makefile 4.23% Dockerfile 7.02% Rez 8.01%

twelf-mac's Introduction

Twelf on Classic Mac

The purpose of this repository is to build a version of the Twelf logical framework that can be run in the "Classic Mac" environment of approximately System 7 era. The current emulation target is a Quadra 800 running System 7.5.3.

Status:

  • ✅ Twelf runs and can typecheck simple signatures that are typed in by hand
  • ✅ Application and document icons exist
  • ⛔ File IO (open, save) is not implemented yet
  • ⛔ Scrolling of the text box is not implemented very well yet
  • ⛔ Selection of output text is not implemented
  • ⛔ Copy/Paste is not implemented

Setup Notes

Much thanks to agoode for explaining a lot of this.

I'm using Retro68 to compile C to run on an emulated mac. I build qemu 8.2.2 from source with

sudo apt install libglib2.0-dev libpixman-1-dev libgtk-3-dev libasound2-dev libslirp-dev
mkdir build
cd build
../configure --target-list=m68k-softmmu --enable-gtk  --enable-pixman --enable-slirp
make

I needed to put in this directory:

Building and Running the App

cd docker
make
make serve # spawns a local web server

Start MacOS guest with ./qemu-macos. Inside MacOS guest:

  • Launch Netscape Navigator from Saved HD.
  • Go to http://10.0.2.2:8000/ (this is the host-local web server)
  • Download app.bin
  • Expand it in Stuffit Expander to create app named Twelf.

twelf-mac's People

Contributors

jcreedcmu avatar agoode avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.