From: Nicolas FRANCOIS (AKA El Bofo) <nicolas.francois@free.fr>
To: Liste Caml <caml-list@inria.fr>,
Liste UPS-Info <ups-info@enst-bretagne.fr>
Subject: [Caml-list] Ca marche pas, et ca m'enerve
Date: Sat, 12 Jun 2004 03:13:54 +0200 [thread overview]
Message-ID: <20040612031354.01a6603a.nicolas.francois@free.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]
Mais c'est pas trop gros, donc je joins en attachement pour que d'autres
testent.
Mon probleme : ce programme explore les machines de Turing a n etats, pour
decouvrir les "castors actifs", i.e. les MdT ecrivant le plus de 1 sur la
bande avant de s'arreter. Si l'on cherche les CA a deux etats (ligne "
and tablesize = 2 in" dans le fichier main.ml), ca marche. Par contre,
j'ai une erreur de Stack Overflow si je lance le programme avec tablesize
= 3.
Ca semble venir des incessantes manipulations de listes representant le
macro-ruban (fichier macro_strip.ml). C'est bizarre, je pensais que les
pointeurs de "cons-cells" n'etaient pas affectes sur la pile. Ca plante,
avec ocamldebug, au pas 770000 et quelques, sur une operation sur une
liste.
Mes manipulations sur les listes sont-elles incorrectes ? Comment faire
pour aider le garbage collector a se rendre compte qu'un pointeur ne sera
plus jamais utilise ?
Merci pour tout conseil.
\bye
--
Nicolas FRANCOIS
http://nicolas.francois.free.fr
We are the Micro$oft.
Resistance is futile.
You will be assimilated.
[-- Attachment #2: castor.tar.gz --]
[-- Type: application/octet-stream, Size: 16005 bytes --]
next reply other threads:[~2004-06-12 0:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-12 1:13 Nicolas FRANCOIS [this message]
2004-06-12 7:54 ` Nicolas Cannasse
2004-06-12 10:24 ` Damien Doligez
2004-06-12 13:14 ` Nicolas FRANCOIS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040612031354.01a6603a.nicolas.francois@free.fr \
--to=nicolas.francois@free.fr \
--cc=caml-list@inria.fr \
--cc=ups-info@enst-bretagne.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox