guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: language translator help


From: Thien-Thi Nguyen
Subject: Re: language translator help
Date: Sat, 18 May 2002 20:03:09 -0700

[1] here's a simple script (modify dir to taste) to compare components:

    rm guile-rgx-ctax
    ln -s /home/ttn/build/GNU/guile/guile-rgx-ctax

    for f in *.[hc] ; do
        echo -n $f '...'
        diff $f guile-rgx-ctax/rx/$f | wc -l
    done

    for f in lang/*.scm ; do
        echo -n $f '...'
        diff $f guile-rgx-ctax/$f | wc -l
    done

    for f in lang/ctax/*.scm ; do
        echo -n $f '...'
        g=`echo $f | sed 's/^.....//g'`
        diff $f guile-rgx-ctax/$g | wc -l
    done

    rm guile-rgx-ctax

output below.  looks like there are some non-trivial changes in
lang/*.scm and lang/ctax/*.scm.  perhaps guile-lang-allover Author can
comment.

thi


___________________________________________
cd /home/ttn/local/src/.ttn/build/guile-lang-allover-0.1/
sh .ttn.compare
_rx.h ...      0
hashrexp.c ...      0
inst-rxposix.h ...      0
rgx.c ...     36
rgx.h ...      4
runtests.c ...      0
rx.c ...      0
rx.h ...      0
rxall.h ...      0
rxanal.c ...      0
rxanal.h ...      0
rxbasic.c ...      0
rxbasic.h ...      0
rxbitset.c ...      0
rxbitset.h ...      0
rxcontext.h ...      0
rxcset.c ...      0
rxcset.h ...      0
rxdbug.c ...      0
rxgnucomp.c ...      0
rxgnucomp.h ...      0
rxhash.c ...      0
rxhash.h ...      0
rxnfa.c ...      0
rxnfa.h ...      0
rxnode.c ...      0
rxnode.h ...      0
rxposix.c ...      0
rxposix.h ...      0
rxproto.h ...      0
rxsimp.c ...      0
rxsimp.h ...      0
rxspencer.c ...      0
rxspencer.h ...      0
rxstr.c ...      0
rxstr.h ...      0
rxsuper.c ...      0
rxsuper.h ...      0
rxunfa.c ...      0
rxunfa.h ...      0
testcases.h ...      0
lang/grammar.scm ...      4
lang/lex.scm ...     14
lang/lr0.scm ...    101
lang/lr1.scm ...    102
lang/pp.scm ...      0
lang/ctax/c-ops.scm ...      4
lang/ctax/grammar.scm ...      4
lang/ctax/hashtabs.scm ...      4
lang/ctax/lexer.scm ...     36
lang/ctax/macros.scm ...      4
lang/ctax/reader.scm ...     12
lang/ctax/scm-ops.scm ...      4

Compilation finished at Sat May 18 19:56:26



reply via email to

[Prev in Thread] Current Thread [Next in Thread]