standard.H

00001 /* File:      standard.H
00002 ** Author(s): Sagonas, Warren, Kifer, Cui, Demoen, Swift and others
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 ** 
00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
00006 ** Copyright (C) ECRC, Germany, 1990
00007 ** 
00008 ** XSB is free software; you can redistribute it and/or modify it under the
00009 ** terms of the GNU Library General Public License as published by the Free
00010 ** Software Foundation; either version 2 of the License, or (at your option)
00011 ** any later version.
00012 ** 
00013 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
00014 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00015 ** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
00016 ** more details.
00017 ** 
00018 ** You should have received a copy of the GNU Library General Public License
00019 ** along with XSB; if not, write to the Free Software Foundation,
00020 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021 **
00022 ** $Id: standard.H,v 1.69 2006/07/14 16:57:45 tswift Exp $
00023 **
00024 */
00025 
00026 
00027 /* ------------------------------ */
00028 /*  exported built-in predicates  */
00029 /* ------------------------------ */
00030 
00031 
00032 :- export 
00033         arg/3,          arg0/3,         atom/1,         
00034         atom_concat/3,   atomic/1,      atom_length/2,
00035         goal_arg/3,     atom_chars/2,   atom_codes/2,
00036         call/1,         call_expose/1,  callable/1,
00037         check_arity_integer/3,  
00038         close/1,             close/2,   compare/3,      
00039         compound/1,     cputime/1,      
00040             display/1, displayln/1, now/1, datime/1,
00041             error_write/1, error_writeln/1,
00042         expand_term/2,  file_exists/1,  fail/0,         fail_if/1,
00043         fileerrors/0,   float/1,        functor/3,
00044         gc_dynamic/1,   gc_tables/1,    get/1,          get0/1,         
00045         get_char/1,     get_char/2,     get_code/1,     get_code/2,
00046         halt/0,         
00047         ceil/2, floor/2, round/2,
00048         (hilog)/1,      hilog_arg/3,    hilog_functor/3,
00049         (index)/3,      (index)/2,      (table)/1,
00050         integer/1,      is/2,           is_attv/1,      is_list/1,
00051         is_most_general_term/1,         
00052         listing/0,      listing/1,      name/2,         nl/0, nl/1,
00053         nofileerrors/0, nonvar/1,       (not)/1,        number/1,
00054         number_chars/2, number_codes/2, number_digits/2,
00055   once/1,               op/3,           open/3,         open/4,
00056 %       print/1,        
00057             otherwise/0,  proper_hilog/1,       
00058             put/1,          put_char/1,     put_char/2,     put_code/1,
00059             put_code/2,
00060             read/1,             read/2,             read_term/3,    read_term/2,
00061             real/1,             repeat/0,
00062         see/1,          seeing/1,       seen/0,
00063             set_input/1,    set_output/1,  
00064         demand_once/1,
00065         skip/1,         statistics/1,   statistics/0,   structure/1,
00066         tab/1,          tell/1,         tell/2,         telling/1,      told/0,
00067         ttywrite/1,     ttywritenl/1,   ttywrite/2,     ttywritenl/2, 
00068         var/1,          walltime/1,     true/0,
00069         write/1,        write/2,        write_prolog/1, write_prolog/2,
00070         writeln/1,      writeln/2,      writeq/1,       writeq/2,
00071         write_canonical/1,  write_canonical/2,
00072         ('\+')/1,       '=:='/2,        '=\='/2,        '<'/2,
00073         '>'/2,          '=<'/2,         '>='/2,         '='/2,
00074         '\='/2,         '=..'/2,        '^=..'/2,       '=='/2,         '@='/2,
00075         '\=='/2,        '@<'/2,         '@>'/2,         '@=<'/2,
00076         '@>='/2,        ';'/2,          ','/2,          '->'/2,
00077         ':'/2,          '_$cutto'/1,    '_$savecp'/1.   
00078 :- export (thread_shared)/1, (thread_private)/1.
00079 
00080 /* --------------------------------------------------------------- */
00081 /*  exported predicates used in other modules (but not "standard")  */
00082 /* --------------------------------------------------------------- */
00083 
00084 :- export
00085         call_c/1,       
00086         catch/3,                throw/1,        '$$exception_ball'/2,
00087         goal_cut_trans/3,       goal_cut_untrans/2,
00088         tcall/1,        arity_integer/1,        prolog_arglist/4,
00089         message/1,      message/2, messageln/2,
00090         warning/1,      abort/1,        abort/0,
00091         set_timer/1,
00092         (import)/1,     (multifile)/1.
00093 
00094 
00095 :- import (dynamic)/1, asserta/1 from assert.
00096 :- import member/2,append/3 from basics.
00097 :- import consult/1, reconsult/1 from consult.
00098 :- import predicate_property/2 from curr_sym.
00099 :- import dcg/2 from dcg.
00100 :- import eval/2 from eval.
00101 :- import file_open/3, file_open/4, file_close/2, file_get/2, file_put/2,
00102   check_stream_or_alias/4, check_open_stream_or_alias/5, add_alias/2,
00103   fd2iostream/3      from file_io.
00104 :- import add_ops/3, op_priority/1, op_specifier/1, add_index/3,
00105   add_trie_index/1, add_table/1
00106      from file_op.
00107 :- import '_$hilog_symbol'/1, add_hilog_symbol/1 from hilogsym.
00108 :- import retract0/1, assertz/1, clause/2, retractall/1 from assert.
00109 :- import domain_error/4, check_atom/3, check_nonvar/3,type_error/4,
00110    permission_error/4, instantiation_error/3, check_nonneg_integer/3, 
00111    misc_error/1
00112      from error_handler.
00113 :- import  check_nonvar_list/3 from error_handler.
00114 :- import '_$load_undef'/1 from loader.
00115 :- import windows_os_loader/0 from loader.
00116 
00117  :- import call0/1, conname/2,
00118           dynamic_code_function/5,
00119           expand_filename/2, gc_stuff/2,is_charlist/1,
00120           machine_file_exists/1, 
00121           psc_arity/2, psc_import/3, psc_insert/4,
00122           psc_name/2, psc_type/2,
00123           stat_set_flag/2, stat_flag/2, term_compare/3,
00124           stat_sta/1, stat_cputime/1, stat_walltime/1,str_len/2,
00125           term_psc/2, term_new/2, term_new_mod/3, term_type/2  %%, close_open_tables/0
00126           from machine.
00127 :- import '$$set_scope_marker'/0, '$$unwind_stack'/0, 
00128           '$$clean_up_block'/0
00129      from machine. 
00130 :- import numbervars/1 from num_vars.
00131 :- import calculate_singleton/3 from singlton.
00132 :- import concat_atom/2 from string.
00133 :- import file_read/2, file_read/3 from xsb_read.
00134 :- import file_write0/2, file_write/2, file_write_prolog/2, 
00135           file_write_quoted/2, file_write_canonical/2, file_nl/1
00136      from xsb_writ.
00137 :- import xsb_thread_self/1 from thread.
00138 :- import findall/3 from setof.
00139 
00140 
00141 /* --------------------- end of file standard.H ----------------------- */

Generated on Wed Jul 26 13:30:47 2006 for XSB by  doxygen 1.4.5