George Koehler
038fb6fb55
Get correct sign of a MOD b when (a > 0) and (b < 0).
...
Reported by me in https://github.com/davidgiven/ack/issues/60
This doesn't change DIV. Right now a DIV b does floor division and
a MOD b has the sign of b. This is the same as Lua, Python, Ruby,
Tcl; but is different from other Modula-2 implementations.
2017-10-28 19:55:06 -04:00
George Koehler
9a965efae8
Terminal now writes to fd 1, not fd 0.
...
Fixes problem where `./program </dev/null` didn't show output.
2017-10-28 17:20:39 -04:00
David Given
893471a42e
No longer truncate module names at 10 characters when constructing paths;
...
rename some library modules to their full names.
2017-01-07 23:00:52 +01:00
David Given
c569ca15d8
Clean up how the language libraries refer to plat headers; they should be using
...
the +pkg forms of the rules and getting the headers via the paths in descr,
rather than depending on the +headers version.
2016-12-05 21:05:24 +01:00
David Given
f67c98e239
Distributions are a pain --- let's not bother any more. Instead, we just tag
...
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given
612e38f1c6
Remove the old make-based build system, plus some big chunks of horribly
...
obsolete protomake build system.
2016-09-02 22:17:51 +02:00
David Given
b549980af2
Wasn't exporting the plat headers; refactor to make this a little cleaner.
2016-08-14 11:01:36 +02:00
David Given
00c67fcc0e
Modula-2 runtime library now builds.
2016-08-13 12:43:44 +02:00
David Given
88bd7ce126
Remove defunct pmfiles.
...
--HG--
branch : default-branch
2016-06-03 13:56:50 +02:00
David Given
3d5e72e20b
Newer versions of GNU Make have a new function which collides with a
...
variable we're using; change the name of the variable.
2015-03-22 12:09:46 +01:00
David Given
11377070fd
Update distribution files.
...
--HG--
branch : dtrg-buildsystem
2013-05-15 23:46:15 +01:00
David Given
f6c43b95ef
Modula-2 now works.
...
--HG--
branch : dtrg-buildsystem
rename : lang/pc/build.mk => lang/m2/build.mk
rename : lang/pc/libpc/build.mk => lang/m2/comp/build.mk
rename : lang/pc/libpc/build.mk => lang/m2/libm2/build.mk
2013-05-14 22:24:38 +01:00
George Koehler
0131ca4d46
Delete 689 undead files.
...
These files "magically reappeared" after the conversion from CVS to
Mercurial. The old CVS repository deleted these files but did not
record *when* it deleted these files. The conversion resurrected these
files because they have no history of deletion. These files were
probably deleted before year 1995. The CVS repository begins to record
deletions around 1995.
These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted. There is no way to fix
this, because the CVS repository provides no dates of deletion.
See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
dtrg
a8ecb11013
Fixed very old bug where Streams.GetStreamPosition would return the wrong position --- thanks to Jan Verhoeven for finding this.
2010-09-01 19:55:15 +00:00
dtrg
1c83baa702
Adapted for ANSI C and our pseudo-Posix syscall interface.
2007-04-21 23:18:14 +00:00
dtrg
2a367fa192
Disabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway.
2007-04-21 23:07:57 +00:00
dtrg
f4e37e1319
Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls.
2007-04-21 23:07:05 +00:00
dtrg
d77b4ce97c
Renamed the language libraries and runtimes to have more
...
conventional names.
2007-02-26 22:36:56 +00:00
cvs2hg
2d80c1d2c8
fixup commit for tag 'release-6-0-pre-1'
2007-02-25 22:49:23 +00:00
dtrg
b611731ec3
Updated .distr files for the new release.
2007-02-25 12:51:55 +00:00
dtrg
5c5f711cbb
Done a major overhaul of the way target include files are installed and
...
how platform libraries are built. The ARCH pm variable has now been
renamed PLATFORM (which is more accurate) and a different ARCH
variable added, which represents the CPU family rather than the
hardware platform.
2007-02-20 00:46:10 +00:00
dtrg
08431edbdb
Now uses fd 0 instead of trying to explicitly open /dev/tty.
2007-02-20 00:38:13 +00:00
dtrg
dbe10d2c19
Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
2006-10-15 00:28:12 +00:00
dtrg
708a83ef22
ack expects the tail_ libraries not to have the .a extension.
2006-07-30 23:45:48 +00:00
dtrg
c5acfe7919
Added support for the Modula-2 language runtime.
2006-07-27 22:14:55 +00:00
ceriel
ae0cde301d
Bug fix: conversion is OK if arg = 0.0
1997-01-27 14:06:51 +00:00
ceriel
e10145ba2e
exit with erno+1, because otherwise exit status is 0 with array bound error
1994-11-14 11:51:24 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
82f89c97a6
signal now deals with void functions
1993-11-17 16:27:44 +00:00
ceriel
5e702c5527
Added some code to check for Nan/Inf
1993-02-24 15:12:49 +00:00
ceriel
f4cc095863
Cardinal checking sometimes produced wrong error message
1992-05-11 09:50:21 +00:00
ceriel
20a7f7b188
improved installation mechanism
1991-10-14 09:18:33 +00:00
ceriel
5e3c1e94b0
Fixed typo
1991-09-25 15:39:43 +00:00
ceriel
157236bdb0
small change to get a better LB
1991-09-25 15:35:03 +00:00
ceriel
9225ee6a80
Fixed for Sparc
1991-09-24 17:48:37 +00:00
ceriel
65454de06c
Fixed proto.make
1991-09-13 14:56:50 +00:00
ceriel
767c52b241
Fixed proto.make
1991-09-13 12:36:13 +00:00
ceriel
df039a267d
Fixed machine-dependant defines
1991-09-04 15:59:56 +00:00
ceriel
4fd7747338
fix machine-dependant #if's
1991-09-04 15:49:34 +00:00
ceriel
78104e7d8a
New installation mechanism
1991-08-26 12:50:21 +00:00
ceriel
2684a45cc5
do not write in strings: they could reside in ROM
1991-03-19 11:14:39 +00:00
ceriel
f4691c73c4
Call _cleanup before _exit
1991-03-15 09:24:03 +00:00
ceriel
3e18caaab0
fixed bug in coroutine mechanism
1991-03-11 16:21:13 +00:00
ceriel
b893ec7013
m_a_i_n --> _m_a_i_n
1991-03-06 14:26:16 +00:00
ceriel
24fd4e190e
Fixed bugs
1991-03-06 10:20:17 +00:00
ceriel
3a715f5479
Lay-out changes and made IMPORTS more specific
1991-03-05 13:47:08 +00:00
ceriel
d8ff0feed3
Replaced some EM code by C code
1991-03-05 11:56:39 +00:00
ceriel
b3deddfaf3
also handle SIGFPE; runtime start-off should leave it alone
1990-12-03 13:54:36 +00:00
ceriel
1136d63929
made compilable by the ACK ANSI C compiler
1990-11-02 14:29:02 +00:00
ceriel
1cb247fa39
only deal with signals that are not ignored
1990-08-29 11:44:33 +00:00