<commit_before>/*  config.h -- general configuration                    */
/*  Copyright (c) 2009 <NAME>.  All rights reserved. */
/*  BSD-style license: http://synthcode.com/license.txt  */

/* uncomment this to use the Boehm conservative GC */
/* #define USE_BOEHM 1 */

/* uncomment this to just malloc manually instead of any GC */
/* #define USE_MALLOC 1 */

/* uncomment this to add conservative checks to the native GC */
/* #define USE_DEBUG_GC 1 */

/* uncomment this if you only want fixnum support */
/* #define USE_FLONUMS 0 */

/* uncomment this if you want immediate flonums */
/* #define USE_IMMEDIATE_FLONUMS 1 */

/* uncomment this if you don't want bignum support */
/* #define USE_BIGNUMS 0 */

/* uncomment this if you don't need extended math operations */
/* #define USE_MATH 0 */

/* uncomment this to disable warning about references to undefined variables */
/* #define USE_WARN_UNDEFS 0 */

/* uncomment this to disable huffman-coded immediate symbols */
/* #define USE_HUFF_SYMS 0 */

/* uncomment this to just use a single list for hash tables */
/* #define USE_HASH_SYMS 0 */

/* uncomment this to disable string ports */
/* #define USE_STRING_STREAMS 0 */

/* uncomment this to enable stack overflow checks */
/* #define USE_CHECK_STACK 1 */

/* uncomment this to disable debugging utilities */
/* #define USE_DEBUG 0 */

/************************************************************************/
/*         DEFAULTS - DO NOT MODIFY ANYTHING BELOW THIS LINE            */
/************************************************************************/

#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
#define SEXP_BSD 1
#else
#define SEXP_BSD 0
#define _GNU_SOURCE
#endif

#ifndef USE_BOEHM
#define USE_BOEHM 0
#endif

#ifndef USE_MALLOC
#define USE_MALLOC 0
#endif

#ifndef USE_DEBUG_GC
#define USE_DEBUG_GC 0
#endif

#ifndef USE_FLONUMS
#define USE_FLONUMS 1
#endif

#ifndef USE_IMMEDIATE_FLONUMS
#define USE_IMMEDIATE_FLONUMS 0
#endif

#ifndef USE_BIGNUMS
#define USE_BIGNUMS 1
#endif

#ifndef USE_MATH
#define USE_MATH 1
#endif

#ifndef USE_WARN_UNDEFS
#define USE_WARN_UNDEFS 1
#endif

#ifndef USE_HUFF_SYMS
#define USE_HUFF_SYMS 1
#endif

#ifndef USE_HASH_SYMS
#define USE_HASH_SYMS 1
#endif

#ifndef USE_DEBUG
#define USE_DEBUG 1
#endif

#ifndef USE_STRING_STREAMS
#define USE_STRING_STREAMS 1
#endif

#ifndef USE_CHECK_STACK
#define USE_CHECK_STACK 1
#endif

#ifdef PLAN9

#define errx(code, msg, ...) exits(msg)
#define exit_normally() exits(NULL)
#define strcasecmp cistrcmp
#define strncasecmp cistrncmp
/* XXXX these are wrong */
#define trunc floor
#define round(x) floor(x+0.5)<commit_msg>fixing definition of trunc for plan9<commit_after>/*  config.h -- general configuration                    */
/*  Copyright (c) 2009 <NAME>.  All rights reserved. */
/*  BSD-style license: http://synthcode.com/license.txt  */

/* uncomment this to use the Boehm conservative GC */
/* #define USE_BOEHM 1 */

/* uncomment this to just malloc manually instead of any GC */
/* #define USE_MALLOC 1 */

/* uncomment this to add conservative checks to the native GC */
/* #define USE_DEBUG_GC 1 */

/* uncomment this if you only want fixnum support */
/* #define USE_FLONUMS 0 */

/* uncomment this if you want immediate flonums */
/* #define USE_IMMEDIATE_FLONUMS 1 */

/* uncomment this if you don't want bignum support */
/* #define USE_BIGNUMS 0 */

/* uncomment this if you don't need extended math operations */
/* #define USE_MATH 0 */

/* uncomment this to disable warning about references to undefined variables */
/* #define USE_WARN_UNDEFS 0 */

/* uncomment this to disable huffman-coded immediate symbols */
/* #define USE_HUFF_SYMS 0 */

/* uncomment this to just use a single list for hash tables */
/* #define USE_HASH_SYMS 0 */

/* uncomment this to disable string ports */
/* #define USE_STRING_STREAMS 0 */

/* uncomment this to enable stack overflow checks */
/* #define USE_CHECK_STACK 1 */

/* uncomment this to disable debugging utilities */
/* #define USE_DEBUG 0 */

/************************************************************************/
/*         DEFAULTS - DO NOT MODIFY ANYTHING BELOW THIS LINE            */
/************************************************************************/

#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
#define SEXP_BSD 1
#else
#define SEXP_BSD 0
#define _GNU_SOURCE
#endif

#ifndef USE_BOEHM
#define USE_BOEHM 0
#endif

#ifndef USE_MALLOC
#define USE_MALLOC 0
#endif

#ifndef USE_DEBUG_GC
#define USE_DEBUG_GC 0
#endif

#ifndef USE_FLONUMS
#define USE_FLONUMS 1
#endif

#ifndef USE_IMMEDIATE_FLONUMS
#define USE_IMMEDIATE_FLONUMS 0
#endif

#ifndef USE_BIGNUMS
#define USE_BIGNUMS 1
#endif

#ifndef USE_MATH
#define USE_MATH 1
#endif

#ifndef USE_WARN_UNDEFS
#define USE_WARN_UNDEFS 1
#endif

#ifndef USE_HUFF_SYMS
#define USE_HUFF_SYMS 1
#endif

#ifndef USE_HASH_SYMS
#define USE_HASH_SYMS 1
#endif

#ifndef USE_DEBUG
#define USE_DEBUG 1
#endif

#ifndef USE_STRING_STREAMS
#define USE_STRING_STREAMS 1
#endif

#ifndef USE_CHECK_STACK
#define USE_CHECK_STACK 1
#endif

#ifdef PLAN9

#define errx(code, msg, ...) exits(msg)
#define exit_normally() exits(NULL)
#define strcasecmp cistrcmp
#define strncasecmp cistrncmp
#define round(x) floor((x)+0.5)
#define trunc(x) ((x)-((x)-round(x)))
{'fraction_non_alphanumeric': 0.14918759231905465, 'fraction_numerical': 0.01310930576070901, 'mean_word_length': 4.2900390625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5411248', 'n_tokens_mistral': 1870, 'n_tokens_neox': 1754, 'n_words': 574}