Questions tagged [bigloo]

Bigloo is an implementation of the Scheme programming language

Bigloo is a Scheme implementation devoted to one goal: enabling Scheme based programming style where C(++) is usually required. It was developed in France at INRIA.

14 questions
6
votes
1 answer

How to enable native threads support in Bigloo Scheme in OS X?

I am trying to compile Bigloo Scheme from source and I cannot figure out how to enable native thread support via ./configure in OS X 10.5 (Leopard) (and I haven't read anywhere that threading is not supposed to work on this platform). I run…
Ryszard Szopa
  • 5,431
  • 8
  • 33
  • 43
6
votes
4 answers

How to circumvent the "Method too large" error in Java Compilation?

I have a parser written in bigloo scheme functional language which I need to compile into a java class. The whole of the parser is written as a single function. Unfortunately this is causing the JVM compiler to throw a "Method too large" warning and…
Aditya
  • 61
  • 1
  • 2
2
votes
1 answer

What are the differences between Bigloo and ECL from an embedding standpoint?

I've been looking to embed Lisp in some C++ code. Two options I'm interested in is Bigloo Scheme and ECL (Common Lisp). Reading through the docs they seem to support a very similar feature set. Obviously Bigloo is Scheme and ECL is CLisp, but what…
Pubby
  • 51,882
  • 13
  • 139
  • 180
2
votes
1 answer

bigloo scheme "make test" fails for pthreads

I am trying to build from the bigloo scheme's latest source 3.8a on a Linux Mint 12 (lisa), which is Ubuntu 11 (Oneric) derivative: Here is my "configure": ./configure --enable-pthread --enable-fthread --enable-ssl --enable-sqlite --enable-web…
Salil
  • 9,534
  • 9
  • 42
  • 56
2
votes
1 answer

How to avoid a shift reduce conflict in a LALR grammar for parsing nested lists?

I would like to create a LALR grammar to parse nested lists, but I get always a shift/reduce conflict. I have the list1 which is a list of type1 items and list2: ::= | ; ::= A | B | ; And I have a…
ceving
  • 21,900
  • 13
  • 104
  • 178
2
votes
2 answers

How to define a function in scm scheme that tests if its parameter is a macro?

For example, assuming 'match is a macro and 'car isn't: > (macro? 'match) #t > (macro? 'car) #f
msantos
  • 21
  • 1
2
votes
1 answer

Correct threads usage in Scheme (Bigloo)

I'm trying to write an application server in Scheme with Bigloo implementation. The code: (module server (library fthread) (main main)) (define *port-num* 8080) (define (main argv) (let* ((socket0 (make-server-socket *port-num*)) …
MX.
  • 73
  • 3
2
votes
2 answers

Bigloo: Type-hinting a function argument

Suppose I have a procedure called foo, which returns a ::float which is meant to take the following arguments: A procedure taking two ::float arguments. A ::float Another ::float How would I write an export for that function in the module part of…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
1
vote
2 answers

transform M dimensional list in one dimension

I'm new in scheme programming and I'm learning basic algorithms, like how to define map, append and so on. But there is an algorithm for which I can't find an implementation. I speak about transforming an M-dimensional list into one dimension. I…
1
vote
0 answers

Static signature for higher order function in Bigloo Scheme

Does anyone know how to create a static signature for a higher order function in the module export section in the Bigloo Scheme language? Here is how far I got (module test (export (adder ::double))) (define (adder x) (lambda (y) (set! x (+…
Timo Westkämper
  • 21,824
  • 5
  • 78
  • 111
0
votes
2 answers

Scheme: Proper application of the eval function?

at work I encountered a basic problem when trying to implement a configuration script with Scheme. To avoid the need of inventing an artificial and restricted language the script should contain actual code. This code shall be evaluated later on. To…
Bastian
  • 4,638
  • 6
  • 36
  • 55
0
votes
1 answer

Do I need a lock to access an immutable datastructure in multithreading context?

I have an immutable datastructure that is a functional hashmap (see fash.scm) that is shared among several threads. Imagine a thread wants to change the global hashmap to a new version. Do I need a lock to change the value? If that's is the case, I…
amirouche
  • 7,682
  • 6
  • 40
  • 94
0
votes
1 answer

Compiler Bigloo Issue

The thing i want to ask, is what the difference, pressing the "make an executable file" button in Dr.Racket, from making an executable file using bigloo. Another question is, that im having problems to complile *.scm files, using bigloo. Anyone can…
pantelis
  • 49
  • 1
  • 4
0
votes
1 answer

Compiling with Bigloo

I've written a scheme file in DrRacket/Scheme and I have my .rkt file. I need to now compile what I've written with Bigloo. I have Bigloo installed, but I'm not sure how to use it. Anyone know how?
Alex
  • 5,364
  • 9
  • 54
  • 69