Commit Graph

107 Commits

Author SHA1 Message Date
Vitor Santos Costa
4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa
c1a3bfce42 add source location *after* initial comment 2013-11-04 00:05:29 +00:00
Vitor Santos Costa
e1208fc7ad fix () extension 2013-09-13 10:52:52 +01:00
Vítor Santos Costa
d1ff57b178 no GMP compilation 2013-09-06 23:03:24 +01:00
Vítor Santos Costa
0fd06d8cf1 fix quoting of \ 2013-08-09 18:36:45 -05:00
Vitor Santos Costa
d575ca8391 ISO patches 2013-08-08 15:04:36 -05:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vitor Santos Costa
d163cadda1 pass regs when constructing long ints and floats.
fix small gcc complaints.
2013-03-26 15:01:52 -05:00
Vitor Santos Costa
610ca06883 check for overflow in big strings 2012-10-16 08:44:26 +01:00
Vítor Santos Costa
84b017e5fd fix small problems in thread package. 2011-12-01 11:05:27 +00:00
Vítor Santos Costa
dcfdb5e614 don't try to release null pointer. 2011-11-30 13:02:44 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa
d8b5a0e5d5 handle SY of wide characters. 2011-08-17 16:23:12 -07:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vítor Santos Costa
ded6b2435c improve BigNum handling. 2011-06-21 15:11:07 +01:00
Vítor Santos Costa
866d2130af disable make_index for now. 2011-06-14 09:39:19 +01:00
Vitor Santos Costa
8991b5247a fixes to scanner code. 2011-06-14 08:58:51 +01:00
Vitor Santos Costa
261e02b43e support for option comments(X) in read_term/1. 2011-06-12 17:23:10 +01:00
Joao
f658a99dad fix C/scanner.c. change some misc/LOCALS initializations. 2011-05-26 15:02:00 +01:00
Joao
98e35b16e8 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-25 16:41:39 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Vítor Santos Costa
a57cd039d8 fix bug in handling very many comments. 2011-05-24 12:26:37 +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
d9cee607e9 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	C/cdmgr.c
2011-05-04 11:10:20 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Paulo Moura
5c9d62e16e Make the support for 0'\s and 0'\z conditional on the ISO escape sequences flag. 2011-04-30 19:51:40 +02:00
Paulo Moura
f83cdde766 Reapplied patch to support 0'\s and 0'\z. 2011-04-30 18:12:56 +02:00
Vítor Santos Costa
c5ba36e191 improve SWI and ISO scanner compatibility. 2011-03-14 20:37:17 +00:00
Vitor Santos Costa
098e051e46 fix bad cast when copying strings. 2011-03-07 22:10:20 +00:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32
140318ff16 read works now. 2011-02-14 23:39:27 -08:00
Vitor Santos Costa
9d1ae2f96a allow spaces in numerica atoms/strings. 2011-01-20 12:03:38 -06:00
Vitor Santos Costa
5367381154 fix 10E1 in ISO mode. 2010-12-30 22:51:52 -06:00
Vitor Santos Costa
2ee12ca1a7 only force 1E30 an error if in ISO mode.
always 1.0e30.
2010-11-22 12:51:02 +00:00
Vitor Santos Costa
0fa3fff5d5 [PATCH-YAP 5/5] ISO: reject 1E1 as float notation
from ulrich neumerkel
2010-11-21 22:09:07 +00:00
Vitor Santos Costa
c4913849c6 [PATCH-YAP 3/4] ISO: Restrict binary, octal, hexadecimal integer constant indicators
and exponent char to minuscules.  (6.4.4)
from Ulrich Neumerkel
2010-11-21 21:55:58 +00:00
Vítor Santos Costa
52c019ec54 cannot hold the lock while getting a char: someone else may be trying to add to the stream. 2010-08-04 11:34:46 +01:00
Vítor Santos Costa
3e13be32a0 fix \\ in strings to scan up to next non-blank 2010-06-23 11:46:16 +01:00
Vítor Santos Costa
be2a3a635e L constants are evil in 64 bits 2010-05-11 12:25:49 +01:00
Vítor Santos Costa
950abd136e get rid of debugging info.
routines are only define with wctype.h
2010-05-05 12:51:38 +01:00
Vitor Santos Costa
f3b6a044f6 improvements to language support. 2010-05-05 12:45:11 +01:00
Vitor Santos Costa
7593a9ec78 fix scanning of integers starting with 0b and 0o (ISO, obs from Paulo Moura). 2010-04-18 20:48:25 +01:00
Vitor Santos Costa
c21f178b36 fix error where \* ( could be scanned as \+( (obs from Paulo Moura). 2010-02-18 09:19:29 +00:00
Vitor Santos Costa
97a27bd4b6 [ ] and {} should be handled by the scanner, not the parser (obs from Paulo Moura). 2009-12-03 22:51:29 +00: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
Costa Vitor
8569aacfe5 check for very long wchar_t strings when scanning (obs from Jan Wielemaker). 2009-07-15 14:26:56 -05:00
Vítor Santos Costa
30e946cc30 fix case where very big negative integer could have two representations. 2009-01-12 15:08:26 +00:00
Vítor Santos Costa
a8ac9bfb43 generate known atoms and functors automatically 2008-12-23 01:53:52 +00:00
Vitor Santos Costa
0dcf34b7bc mainbranch fixes to:
- fix quoted characters output
- fix line position in read_term and friends
- make messages look a bit better
- CLP(BN) EM improvements.
2008-10-23 22:17:45 +01:00