Mark,
Hmm, just realized, to add on top of what you said, method has a major
thread-safety problem if the bytevector output port is accessed from more
than one thread. Definitely need to fix this.
Freja Nordsiek
On Mon, Jun 19, 2017 at 8:03 AM, Mark H Weaver wrote:
> Freja Nordsiek writes:
Freja Nordsiek writes:
> Also, I found one error in the get-output-bytevector procedure in
> (scheme base), which was that the procedure discarded the bytes
> already written. get-output-bytevector is not supposed to be
> destructive to the bytes already written, but the R6RS output
> bytevector
Hi Freja,
Freja Nordsiek writes:
> On Mark Weaver's suggestion, I looked up the Kawa and Chibi R7RS-small
> test suites. Kawa uses Chibi's test-suite, though it is wrapped in a
> bit of extra code at the top. Kawa's license is not likely to be a
> problem, as it is a MIT license (
> https://www.
Was fiddling around with using Chibi's R7RS test-suite in Guile and found a
major R7RS syntax feature currently missing from Guile. The feature is R7RS
bytevector notation, which uses the #u8 prefix like SRFI-4 unsigned 8-bit
integer vectors instead of the R6RS prefix #vu8.
I wrote a patch for the
NYACC V0.80.3 is released.
This release has work on the ffi-helper and numerous bug fixes:
1) use 0 for undefined identifiers in CPP conditional expressions
2) fixed lex routine make-ident-like-p to check for zero-length strings
3) fixed bug in c99/util2.smc that added comments in struct cleanup
4
With patch below, this looks to be working. I will update and release later
today. — Matt
diff --git a/module/nyacc/lang/c99/cpp.scm b/module/nyacc/lang/c99/cpp.scm
index 7ea57f7..511553a 100644
--- a/module/nyacc/lang/c99/cpp.scm
+++ b/module/nyacc/lang/c99/cpp.scm
@@ -230,7 +230,7 @@
Jan Nieuwenhuizen writes:
> Hi Matt!
>
> When I use Nyacc to parse things like
>
> #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
> # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
> #else
> # define _GL_ATTRIBUTE_PURE /* empty */
> #endif
>
> I get
>
>
Hi Matt!
When I use Nyacc to parse things like
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
#else
# define _GL_ATTRIBUTE_PURE /* empty */
#endif
I get
foo.c:1: undefined identifier: "__GNUC__"
On Mark Weaver's suggestion, I looked up the Kawa and Chibi R7RS-small test
suites. Kawa uses Chibi's test-suite, though it is wrapped in a bit of
extra code at the top. Kawa's license is not likely to be a problem, as it
is a MIT license ( https://www.gnu.org/software/kawa/Software-License.html
).
Copied over the docstrings that I had written over to the existing
R7RS modules in r7rs-wip. There are still procedures that need
docstrings, though.
Freja Nordsiek
On Sat, Jun 17, 2017 at 2:02 AM, Freja Nordsiek wrote:
> I was able to add the unit tests I had written to the r7rs-wip branch
>
10 matches
Mail list logo