home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************
- * *
- * The SB-Prolog System *
- * Copyright SUNY at Stony Brook, 1986; University of Arizona, 1987 *
- * *
- ************************************************************************/
-
- /*-----------------------------------------------------------------
- SB-Prolog is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY. No author or distributor
- accepts responsibility to anyone for the consequences of using it
- or for whether it serves any particular purpose or works at all,
- unless he says so in writing. Refer to the SB-Prolog General Public
- License for full details.
-
- Everyone is granted permission to copy, modify and redistribute
- SB-Prolog, but only under the conditions described in the
- SB-Prolog General Public License. A copy of this license is
- supposed to have been given to you along with SB-Prolog so you
- can know your rights and responsibilities. It should be in a
- file named COPYING. Among other things, the copyright notice
- and this notice must be preserved on all copies.
- ------------------------------------------------------------------ */
- /* $bmeta.P */
-
- $bmeta_export([$atom/1,$atomic/1,$integer/1,$number/1,$structure/1,
- $functor0/2,$bldstr/3,$arg/3,$arity/2,$real/1,$float/1,$mkstr/3,
- $is_buffer/1]).
-
- $atom(X) :- '_$builtin'(66).
-
- $atomic(X) :- '_$builtin'(68).
-
- $integer(X) :- '_$builtin'(67).
-
- $number(X) :- integer(X) -> true ; real(X).
-
- $structure(X) :- '_$builtin'(129).
-
- $functor0(T, F) :- '_$builtin'(81).
-
- $bldstr(F, N, T) :- '_$builtin'(84).
-
- $arg(I, T, X) :- '_$builtin'( 80 ).
-
- $arity(X, A) :- '_$builtin'(69).
-
- $real(X) :- '_$builtin'(62).
-
- $float(X) :- '_$builtin'(62).
-
- $mkstr(X,Y,Z) :- '_$builtin'(85).
-
- $is_buffer(X) :- '_$builtin'(72).
-
-