generate known atoms and functors automatically
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
:- yap_flag(write_strings,on).
|
||||
|
||||
main :-
|
||||
file_filter('ATOMS','atoms.h',gen_decl).
|
||||
file_filter('ATOMS','../H/atoms.h',gen_decl).
|
||||
|
||||
gen_decl(Inp,Out) :-
|
||||
split(Inp," ",["A",Atom,String]), !,
|
||||
@@ -30,6 +30,3 @@ counter(I) :-
|
||||
I1 is I+1,
|
||||
nb_setval(count,I1).
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user