Bill Currie
0ad9f559ea
[ruamoko] Move some string functions
...
sprintf, vsprintf and strlen now in rua_strings, and strlen now returns
int like it should.
2020-03-25 00:04:20 +09:00
Bill Currie
a4582e526d
[cl_menu,scheme] Clean up after tightened pointer checks
2020-03-05 15:02:40 +09:00
Bill Currie
7976eec2ce
[scheme] Clean up a pile of rotten bits
2020-03-03 17:35:14 +09:00
Bill Currie
051a572bcc
[build] Dependency checking for all ruamoko code
...
Including dependency on qfcc itself. Getting automake to chooch the way
I want it to chooch can be a pain in the... see AvE
2020-03-03 17:24:53 +09:00
Bill Currie
a6f3e1753a
Fix ruamoko's hashtab_t typedef
...
Being typedefed directly to a pointer is a holdover from when pointer
declarations were really awkward.
2020-02-19 21:41:46 +09:00
Bill Currie
f5501fbf24
Fix a pile of automake deprecation warnings.
...
s/INCLUDES/AM_CPPFLAGS/g
I <3 sed :)
2013-11-24 13:11:50 +09:00
Bill Currie
ff0c51e52c
Build our ruamoko stuff with optimizations :)
2012-12-01 11:20:06 +09:00
Bill Currie
23a38738fc
Massive whitespace cleanup.
...
Lots of trailing whitespace and otherwise blank lines.
2012-05-22 08:23:22 +09:00
Bill Currie
95a06c20b2
Move qfcc's libs and headers to ${prefix}/share
...
On discussion with Despair, share makes more sense than lib as they are
really cross-platform (though qfcc itself is not).
2012-05-05 19:34:35 +09:00
Bill Currie
b69d527507
Nuke another AM_CONDITIONAL
2012-02-13 16:08:03 +09:00
Bill Currie
546a7e7aac
Avoid recusing into tools and ruamoko when not needed.
2012-02-12 19:29:31 +09:00
Bill Currie
c8163fc0de
Add an option to prevent the use of default paths.
...
Despair has things locked down such that running qfcc during a build fails
due to lack of read access to /usr/local/lib. This is actually a good
thing as accidentally hitting old includes/libs (when a file gets deleted
in the tree) hides bugs. Thus, --no-default-paths to turn off default
search paths.
2012-01-04 13:53:04 +09:00
Jeff Teunissen
c7c646a53f
Makefile portability fixes
...
Allow our makefiles to build with non-GNU 'make' implementations.
Required some renaming of not-really-QuakeC source to .r to get it right.
2011-07-25 17:22:44 -04:00
Bill Currie
896791b209
Correct the spelling of "int" and clean up the mess.
2011-03-25 16:53:04 +09:00
Bill Currie
aa4ed00090
Fix the message type used to check arguments.
2011-03-02 22:13:16 +09:00
Bill Currie
6af747705c
Syntax fixes for ruamoko/scheme.
2011-02-14 23:10:46 +09:00
Bill Currie
daae0284a1
Work around a warning about passing int constants into ...
...
I'm not sure why this is happening now when it didn't in the old qfcc,
but this will take care of the warning for now until I can get around to
fixing it.
2011-02-14 23:10:45 +09:00
Bill Currie
c38ea0b1bc
Correct the spelling of "nil".
2011-01-14 12:07:40 +09:00
Bill Currie
75ec6bf244
Clean out some unnecessary types from the progs engine and clean up the mess.
...
This is a nasty commit, sorry, but 99% of the commit is interdependent.
2011-01-10 12:25:31 +09:00
Bill Currie
c5edbf147a
Move ruamoko libs and headers into ${prefix}/lib/qfcc
2010-12-24 19:39:54 +09:00
Bill Currie
6d494bfcdf
Fix a slew of warnings found by -Wall.
...
-Wall still isn't used yet due to a missing method in Array, and
overzealous warnings in qfcc, but this covers the necessary fixes.
2010-12-16 20:01:49 +09:00
Jeff Teunissen
f86e933c6a
Array API fixes
...
NQ menus work now.
2010-12-12 05:40:24 -05:00
Jeff Teunissen
c58a72842f
Update users of Array to new API
2010-12-11 20:32:19 -05:00
Bill Currie
0dfff8fd58
ignore stuff
2010-08-07 10:42:09 +00:00
Bill Currie
8abb9a69aa
remove support for an optional = in struct/union declarations
2010-01-13 06:34:32 +00:00
Bill Currie
175ad185c2
don't install main.dat* *taniwha beats snax over the head with a large trout
2005-09-07 00:33:11 +00:00
Bill Currie
ddae3850e8
qf now, for the first time in history, fully passes "make distcheck"
2005-07-16 03:46:11 +00:00
Brian Koropoff
fd54b1a245
Scheme: Make apply follow the R5RS standard.
2005-05-10 08:19:15 +00:00
Brian Koropoff
6a9adafa8d
Added support for comments
2005-05-08 21:51:16 +00:00
Brian Koropoff
ed0b29a0a0
Cons now allocates String objects when outputting string form. Added
...
support for begin expressions and tweaked the GC to be more aggressive.
2005-05-08 11:17:44 +00:00
Brian Koropoff
111df712fa
String.[hr] -> SchemeString.[hr], for the sake of case-insensitive
...
filesystems.
2005-05-08 10:43:56 +00:00
Brian Koropoff
86606cc627
Added proper argument number checking to lambdas, a bunch more builtins,
...
a few misc optimizations.
2005-05-08 10:37:57 +00:00
Brian Koropoff
2ebd2e0c2a
Scheme: The lexer now actually supports true/false constants.
2005-05-08 10:14:27 +00:00
Brian Koropoff
e8680d792e
Added runtime error checking and line number tracking. Seems to catch most
...
Scheme program errors without making Rua abort now, although there are a
few things that still need to actually report errors instead of failing
in weird ways.
2005-05-08 06:38:01 +00:00
Brian Koropoff
bc73af37f2
Scheme: Added letrec, first-class continuations, and tuned the garbage
...
collector a bit.
2005-05-08 03:44:18 +00:00
Brian Koropoff
adba6b26dc
Scheme updates:
...
- Boolean type (no support in lexer yet)
- Conditionals
- Defines (only work correctly at top level)
- More core builtins (apply, cons, car, cdr)
- Variable-argument functions
- Incremental garbage collection
- Garbage collection fixes
- Other misc bugs fixed
2005-05-06 23:25:06 +00:00
Brian Koropoff
256630c84d
Added proper error checking and reporting with line numbers. Next:
...
Runtime errors and support for line number reporting with the error.
2005-05-02 04:58:22 +00:00
Brian Koropoff
438073e110
Bug fixes, plus a first stab at the garbage collector. It *seems* to work
...
properly so far.
2005-05-02 02:33:44 +00:00
Bill Currie
0213efb331
sv_recorder seems to be ready for qtv :)
2005-05-02 00:45:25 +00:00
Brian Koropoff
281b683e14
Initial commit of a future partial implementation of the R5RS Scheme
...
standard, implemented in Ruamoko. Currently works for a few simple
"Hello, world!" programs.
2005-05-01 11:48:36 +00:00