Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81281 / c2html / README.md
diff options
context:
space:
mode:
1 files changed, 27 insertions, 0 deletions
-rw-r--r--homework/81281/c2html/README.md27
diff --git a/homework/81281/c2html/README.md b/homework/81281/c2html/README.md
new file mode 100644
index 0000000..d5d6983
--- /dev/null
+++ b/homework/81281/c2html/README.md
@@ -0,0 +1,27 @@
+# Homework 1
+Create a xxx2html syntax highlighter for a language of your choice.
+
+### How to install and use SWI-Prolog
+
++ [How to install SWI-Prolog](https://wwu-pi.github.io/tutorials/lectures/lsp/010_install_swi_prolog.html)
+
++ [Quick start on how to use it](http://www.swi-prolog.org/pldoc/man?section=quickstart)
+
++ [Command line options](http://www.swi-prolog.org/pldoc/man?section=cmdline)
+
+### Added bash script for executing program after successful installation of SWI-Prolog on a Unix or Unix-like variants
+[Script](./executeProgram.sh)
+
+### If you are going to install SWI-Prolog on Windows
++ You can omit lines 4 to 16 from c2html.pl.
++ Afterward in order to execute the program you can call the main predicate and give it a valid string name of file.
+
+For example **main("test.c").**
+
+### For the curious who want to find about DCG Grammar rules :
+
++ [SWI-Prolog/DCG](http://www.swi-prolog.org/pldoc/man?section=DCG)
+
++ [Wikibooks](https://en.wikibooks.org/wiki/Prolog/Definite_Clause_Grammars)
+
++ [A tutorial](http://www.pathwayslms.com/swipltuts/dcg/)