aboutsummaryrefslogtreecommitdiff
path: root/atom_dcg.pl
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-02-15 15:38:57 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-02-15 15:38:57 +0100
commit09ec144a99f1234a37d04854bdfb81485540be97 (patch)
treece3050a062a76dd12980b08ef36eb7ac35b7e6f8 /atom_dcg.pl
parentfed19b9942575e7c0360a0d77a3c544afdbaeb6c (diff)
downloadEpisodeBrowser-09ec144a99f1234a37d04854bdfb81485540be97.tar.gz
Put C code and Prolog code in separate directories.
Diffstat (limited to 'atom_dcg.pl')
-rw-r--r--atom_dcg.pl11
1 files changed, 0 insertions, 11 deletions
diff --git a/atom_dcg.pl b/atom_dcg.pl
deleted file mode 100644
index 74689d5..0000000
--- a/atom_dcg.pl
+++ /dev/null
@@ -1,11 +0,0 @@
-:- module(atom_dcg, [atom_phrase/2]).
-
-:- meta_predicate atom_phrase(2, ?).
-
-atom_phrase(G, A) :-
- ( var(A)
- -> phrase(G, C),
- atom_codes(A, C)
- ; atom_codes(A, C),
- phrase(G, C)
- ).