carl
f371f452b5
Basic compiler is now ISO C90 compliant.
2019-03-02 01:44:16 +08:00
carl
796317e0e3
Better ANSI C compatibility and portability - part 1:
...
* Adapt to new sys_filesize prototype.
2019-02-19 00:54:23 +08:00
David Given
436d50b54c
Create correctly sized csa descriptors in the Basic compiler.
2018-09-20 00:49:31 +02:00
David Given
1702d873ea
Warning-fix and protoise the basic library.
2018-06-24 00:35:51 +02:00
David Given
13a7abdd69
Rename a function to avoid a clash with an em system call.
2018-06-13 21:34:14 +09:00
David Given
3f049a4c29
Basic mid now throws an error on out-of-bounds parameters rather than returning
...
an uninitialised pointer (and crashing).
Fixes : #54
2018-06-05 09:53:56 +09:00
David Given
05ddefad65
Adopt a copy of Minix 2's ed; this allows the ACK's antiquated ed scripts to
...
run with a minimum of tweaking. Rewriting them for modern ed looks really hard.
Fixes : #84
2018-06-02 18:02:51 +02:00
David Given
fb90b7b8d8
Merge pull request #66 from davidgiven/dtrg-warnings
...
lang/basic/lib: fewer warnings
2017-11-19 11:39:45 +01:00
David Given
fd10cf7ac2
Merge from trunk.
2017-08-06 10:42:16 +02:00
David Given
f2e3d7b38c
Don't define functions called itoa(), because this causes problems on platforms
...
that define itoa() in their libcs.
2017-07-23 21:19:07 +02:00
David Given
e50f4be710
Merge from default.
2016-12-26 19:44:48 +00:00
David Given
04e54d6cb1
Run lang/basic/lib through clang-format.
2016-12-12 21:16:32 +01:00
David Given
a53b51001b
Ansify function definitions.
2016-12-12 21:15:25 +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
5bce5fc4da
Change the extension used by Basic files for .b to .bas, to avoid conflicts
...
with B.
2016-11-27 20:38:33 +01:00
David Given
b8a2935f2b
Fix more invalid prototypes of stdlib functions; build dependency fix.
2016-11-24 21:26:05 +01:00
David Given
745eb8f17b
Now _errsym and _erlsym are defined in the standard library, don't define them
...
in the program.
2016-11-16 21:13:00 +01:00
David Given
e9fe1d70a6
Fix (or at least, work around) an issue with library order. Make sure the Basic
...
error symbols are actually defined.
2016-11-13 13:28:09 +01:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +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
4d24666432
Move util/data into modules/src/em_data, for consistency with the other
...
modules.
2016-08-14 14:09:38 +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
08b7c4aaae
The Basic runtime builds now.
2016-08-12 00:24:40 +02:00
David Given
7c60c27302
The Basic compiler works now.
2016-08-12 00:19:51 +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
66aebcdd91
Pascal compiler now runs.
...
--HG--
branch : dtrg-buildsystem
rename : lang/basic/build.mk => lang/pc/build.mk
rename : lang/cem/cemcom.ansi/build.mk => lang/pc/comp/build.mk
rename : lang/basic/lib/build.mk => lang/pc/libpc/build.mk
2013-05-14 20:47:04 +01:00
David Given
a6ebaeabd0
Basic compiler now runs.
...
--HG--
branch : dtrg-buildsystem
2013-05-14 18:01:38 +01:00
David Given
d5f0107746
Build the Basic run-time library (after some modernisation).
...
--HG--
branch : dtrg-buildsystem
2013-05-14 16:11:29 +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
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
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
f3a9a3bc40
Added support for the Basic and Occam language runtimes.
2006-07-27 21:58:13 +00:00
dtrg
d29b1ef7d0
Added support for the Basic compiler.
2006-07-26 23:08:09 +00:00
dtrg
1caa63775f
Rationalised use of #includes to be more standards-compliant.
2006-07-26 23:06:56 +00:00
dtrg
4c65324e11
Adjusted to allow the path of the Lpars.h file to be given on the
...
command line.
2006-07-26 23:05:52 +00:00
dtrg
014be56fb0
Replaced calls to the custom strindex() and strrindex() functions with the
...
exactly equivalent and standard strchr() and strrchr() functions instead.
2006-07-23 20:01:02 +00:00
dtrg
e859ef2491
Rationalised use of #includes to be more standards-compliant.
2006-07-19 10:28:43 +00:00
dtrg
454bdae81f
Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.)
2006-07-18 16:45:57 +00:00
cvs2hg
5cb054f106
fixup commit for tag 'llgen-1-0'
2006-02-04 00:57:05 +00:00
dtrg
e0846f63be
Removed duplicate and inconsistent function declarations.
2005-06-25 15:52:19 +00:00
ceriel
6db931eee6
Link em_data.a as well (needed when producing readable EM
1997-04-01 13:58:58 +00:00
ceriel
63e0b36b41
renamed _len to _length: conflict with name in minix lib
1996-11-26 15:02:36 +00:00
ceriel
4a5e3f42d3
removed
1995-12-06 13:21:54 +00:00