This is an implementation of an infix reader macro. It should run in any
valid Common Lisp and has been tested in Allegro CL 4.1, Lucid CL 4.0.1, MCL 2.0 and CMU CL. It allows the user to type arithmetic expressions in the traditional way (e.g., 1+2) when writing Lisp programs instead of using the normal Lisp syntax (e.g., (+ 1 2)). It is not intended to be a full replacement for the normal Lisp syntax. This package is compiled with SBCL. Written by Mark Kantrowitz, School of Computer Science, Carnegie Mellon University, March 1993. WWW: http://www.cliki.net/infix PR: ports/93223 Submitted by: Pedro F Giffuni <giffunip@asme.org>
This commit is contained in:
parent
32956195c6
commit
62672f3277
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165809
4 changed files with 58 additions and 0 deletions
|
@ -135,6 +135,7 @@
|
|||
SUBDIR += cl-asdf-sbcl
|
||||
SUBDIR += cl-infix
|
||||
SUBDIR += cl-infix-cmucl
|
||||
SUBDIR += cl-infix-sbcl
|
||||
SUBDIR += cl-port
|
||||
SUBDIR += cl-port-clisp
|
||||
SUBDIR += cl-port-sbcl
|
||||
|
|
42
devel/cl-infix-sbcl/Makefile
Normal file
42
devel/cl-infix-sbcl/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
|||
# New ports collection Makefile for: cl-infix-sbcl
|
||||
# Date created: 13 Feb 2006
|
||||
# Whom: Pedro F Giffuni
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= infix
|
||||
DISTVERSION= 19960628
|
||||
CATEGORIES= devel lisp
|
||||
MASTER_SITES= http://ftp.linux.org.uk/pub/lisp/cclan/ \
|
||||
ftp://ftp.ntnu.no/pub/lisp/cclan/ \
|
||||
http://thingamy.com/cclan/ \
|
||||
http://www-jcsu.jesus.cam.ac.uk/ftp/pub/cclan/
|
||||
PKGNAMEPREFIX= cl-
|
||||
PKGNAMESUFFIX= -sbcl
|
||||
DISTFILES= # use installed sources from CL_LIBDIR
|
||||
EXTRACT_ONLY= # use installed sources from CL_LIBDIR
|
||||
|
||||
MAINTAINER= giffunip@asme.org
|
||||
COMMENT= A lisp macro to read math statements in infix notation
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/common-lisp/infix/infix.asd:${PORTSDIR}/devel/cl-infix \
|
||||
${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
|
||||
sbcl:${PORTSDIR}/lang/sbcl
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/common-lisp/port/port.asd:${PORTSDIR}/devel/cl-port \
|
||||
${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
|
||||
sbcl:${PORTSDIR}/lang/sbcl
|
||||
|
||||
NO_CDROM= No fees or compensation can be charged
|
||||
|
||||
do-build:
|
||||
WRKSRC=${WRKSRC}/ FBSD_ASDF_COMPILE_PORT=t\
|
||||
sbcl --noinform --userinit /dev/null \
|
||||
--eval '#.(load "${LOCALBASE}/etc/asdf-init")' \
|
||||
--eval "(asdf:oos 'asdf:compile-op :infix)" \
|
||||
--eval "(quit)"
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/common-lisp/infix/sbclfasl
|
||||
${INSTALL_DATA} ${WRKSRC}/*.fasl ${PREFIX}/lib/common-lisp/infix/sbclfasl/
|
||||
|
||||
.include <bsd.port.mk>
|
13
devel/cl-infix-sbcl/pkg-descr
Normal file
13
devel/cl-infix-sbcl/pkg-descr
Normal file
|
@ -0,0 +1,13 @@
|
|||
This is an implementation of an infix reader macro. It should run in any
|
||||
valid Common Lisp and has been tested in Allegro CL 4.1, Lucid CL 4.0.1,
|
||||
MCL 2.0 and CMU CL. It allows the user to type arithmetic expressions in
|
||||
the traditional way (e.g., 1+2) when writing Lisp programs instead of
|
||||
using the normal Lisp syntax (e.g., (+ 1 2)). It is not intended to be a
|
||||
full replacement for the normal Lisp syntax.
|
||||
|
||||
This package is compiled with SBCL.
|
||||
|
||||
Written by Mark Kantrowitz, School of Computer Science,
|
||||
Carnegie Mellon University, March 1993.
|
||||
|
||||
WWW: http://www.cliki.net/infix
|
2
devel/cl-infix-sbcl/pkg-plist
Normal file
2
devel/cl-infix-sbcl/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
lib/common-lisp/infix/sbclfasl/infix.fasl
|
||||
@dirrm lib/common-lisp/infix/sbclfasl
|
Loading…
Reference in a new issue