Giter Site home page Giter Site logo

jayphelps / plucid-osx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mpw/plucid-osx

0.0 2.0 0.0 252 KB

A "port" of plucid that works on OS X

License: GNU General Public License v2.0

C 64.69% Makefile 3.82% Brainfuck 0.45% GAP 8.07% Eiffel 1.85% Lex 6.83% Groff 1.18% Objective-C 0.33% Objective-J 1.89% Forth 4.31% Yacc 5.57% C++ 0.69% Perl 0.05% Common Lisp 0.24% UnrealScript 0.01% PicoLisp 0.03%

plucid-osx's Introduction

If you have Berkely 4.2  or System 5 or SUN O/S Version 4
you should have little trouble with installating
this on a 32 bit machine (see READ_ME in the evaluator directory). 

If you are not running on UNIX or a UNIX-like system you will have
to do a little work to get your Lucid interpreter working. In particular
the directories p1 to p5 each produce a pass or filter each sucessive
piping (in the UNIX sense) its input to the next. The code within
each pass is reasonably straight forward. If you have a yacc of Your
own you may want to
remove the y.tab.c and y.tab.h directories and use your
own yacc to generate these. If you do not have yacc you can use the
y.tab.c and y.tab.h provided.

There are 9 subdirectories:
        p1              :Source for filter1 (lucid -> lucid parse tree(pt))
                                          i.e. checks for syntax errors.
        p2              :Source for filter2 (lucid pt -> lucid pt)
                                          checks for nameclashes
        p3              :Source for filter3 (lucid pt -> lucid pt)
                                          expands upon and whenever.
        p4              :Source for filter4(lucid pt->structured lucid pt)
        p5              :Source for filter5 (s-lucid pt -> lucid i-code)
	evaluator	:Source for the lucid evaluator
        manual          :lucid programming manual/UNIX manual entry
        progs           :Example lucid programs
        shell_scripts   :Scripts for compiling and/or running
                         lucid programs


Installing lucid
================

 In directory p1 change the third line of file main.c to some
 appropriate directory. It is currently

 STRING incdir = "/usr/local/lib/plucid";

 If you are running Berkley UNIX 4.2bsd or have the
 make facility then all you then
 do is to type

     make all "DESTDIR=/the/directory/where/you/want/your/binary/progs"

the makefile in this directory will do the rest.

    E.g. at ASU we would enter

         make all "DESTDIR=/usr/local/bin"


plucid-osx's People

Contributors

mpw avatar

Watchers

James Cloos avatar  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.