Commit Graph

91 Commits

Author SHA1 Message Date
Vítor Santos Costa
2192f73b11 make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa
1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa
90feb7f9f8 cmake support 2014-12-14 12:05:43 +00:00
Vítor Santos Costa
3e255ec4a1 qload 2014-09-22 18:13:35 +01:00
Vítor Santos Costa
53a49bb3c3 call ypp from the console 2014-09-08 17:16:00 -05:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
David Vaz
3cad9c37b1 removed unnecessary cut_c macros (always on) 2014-02-11 07:15:39 -08:00
Vítor Santos Costa
d18c67aa2a try to reset stack 2013-02-08 10:35:40 -06:00
Vitor Santos Costa
637f5420aa get rid of debugger message. 2012-06-22 14:32:06 +01:00
Vitor Santos Costa
a9d1bd788e improve SWI console 2012-06-22 03:56:01 -05:00
U-WIN-UA9ACS5GS9N\vitor
19807d46f7 WIN32 and CYGWIN fixes. 2012-04-18 14:14:56 -05:00
Vítor Santos Costa
3cb9ca11ca include ieeefp.h in yap.c 2012-03-27 14:20:34 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Joao
8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Joao
c27f79eeb1 fix YapOr threads. 2011-04-29 14:59:17 +01:00
Joao
662658986a chnage define ACOW to YAPOR_COW 2011-03-30 16:39:09 +01:00
Joao
3e148c3541 change define SBA to YAPOR_SBA 2011-03-30 15:32:59 +01:00
Joao
810c96416b change define ENV_COPY to YAPOR_COPY 2011-03-30 14:35:10 +01:00
Vítor Santos Costa
89280493d0 fix restopring from gfull saved states. 2010-11-26 18:02:44 +00:00
Vítor Santos Costa
c2866011ca allow -F to be ignored. 2010-06-17 00:34:57 +01:00
Vítor Santos Costa II
e605da8685 dump should dump to stdout, not stderr (that's where SWI dumps, and that's where
scripts expect it).
2010-04-13 00:30:15 +01:00
Vítor Santos Costa II
51c6ac37d9 fix documentation of SWI compatible memory allocation flags. 2010-04-12 17:22:03 +01:00
Vitor Santos Costa
484af95732 boot file is now in c-interface. 2010-01-26 23:24:15 +00:00
Vitor Santos Costa
b112574dc5 booting should not be console controlled. 2010-01-26 12:20:46 +00:00
Vitor Santos Costa
13be09aaef get rid of debugging message. 2009-12-16 18:33:28 -02:00
Vitor Santos Costa
4c8eb33e06 we had args already (no need for argv0)
improve error handling in YAP_ReadBuffer
2009-10-26 10:42:19 +00:00
Vitor Santos Costa
96da71b514 fix console.c to also add / (obs from Paulo Moura). 2009-10-23 23:54:24 +01:00
Vitor Santos Costa
0ea348c26d extend SWI interface with PL_toplevel and to handle C++ code.
prolog/0 built-in
fixes to parms.h changes.
2009-10-23 16:50:43 +01:00
Vitor Santos Costa
0179998d60 change Heap.h to YapHeap.h
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Vitor Santos Costa
253444d7ca support parms.h
pass argv[0]
2009-10-23 09:09:16 +01:00
Costa Vitor
2689d69e92 -f could try to parse empty string... #124 2009-06-08 20:23:55 -05:00
Vitor Santos Costa
39ccbd345d make options -T -L -G work as SWI: they impose a maximum size limit 2009-05-10 13:36:55 -04:00
Vitor Santos Costa
b92b026c90 more patches to support Anderson's JIT. 2009-04-08 00:32:36 +01:00
Vítor Santos Costa
e201d11e81 bad init could cause overflow. 2009-03-31 13:51:44 +01:00
Vitor Santos Costa
2aa5aa3a26 add -A flag to ask for more attributed stack. 2009-03-27 15:15:54 +00:00
Vítor Santos Costa
58d4442883 fixes for gcc-4.3 (same as stable) 2008-11-26 09:56:18 +00:00
Vítor Santos de Costa
eeff5515b4 fix isblank warning 2008-10-16 17:19:14 +01:00
Vítor Santos Costa
04c944972b -L swi compatibility had broken standard -L usage in YAP :(wq 2008-08-29 05:19:36 +01:00
Vitor Santos Costa
52a927dcf7 add 'G' option as alias to 'S', again for SWI compatibility. 2008-08-24 00:40:40 +01:00
Vitor Santos Costa
92f99fce25 more SWI compatibility fixes:
make -f option test if there is an argument and if so use it.
2008-08-24 00:30:25 +01:00
Vitor Santos Costa
e0f108ee55 allow -L option to be used for stack size (in SWI compatibility). 2008-08-23 17:48:38 +01:00
Vitor Santos Costa
88759dbb33 make -t option allow top-level-goal if number parsing fails.
add '.' to goals in yap.c so that we can parse them.
2008-08-23 17:26:41 +01:00
vsc
08422c967a more fixes to C-interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2257 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-04 13:58:42 +00:00
ricroc
ddcd80d2a9 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2215 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-11 16:30:28 +00:00
vsc
1c6b91cb72 improve WIN32 support and installation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2170 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-27 00:41:33 +00:00
vsc
0c0826b938 fix some icc warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2165 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 22:03:14 +00:00
vsc
3101d1ff61 -q flag
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2150 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 18:41:52 +00:00
vsc
4a07cd99a5 win version was broken because wchar_t is unsigned in WIN32.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 23:35:04 +00:00
vsc
9cdf70aa41 fix number of overflows (comments by Bart Demoen).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1857 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-27 13:48:51 +00:00
vsc
0b7083adb2 make sure that YAP_Restart does not restart a failed goal.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1855 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-22 11:12:22 +00:00