diff options
| Commit | 5240ae0fff4cbff28e6a852606f1dc3096d8b8bf (patch) | |
|---|---|---|
| Author | 2018-10-17 21:54:55 +0300 | |
| Committer | 2018-10-17 21:54:55 +0300 | |
| Files | 2dc1f0f4d5fb72a7ae812ee8d8db19f63949a10b /homework/81281/c2html/README.md | |
| IPL-5240ae0fff4cbff28e6a852606f1dc3096d8b8bf.tar IPL-5240ae0fff4cbff28e6a852606f1dc3096d8b8bf.tar.gz IPL-5240ae0fff4cbff28e6a852606f1dc3096d8b8bf.zip | ||
| Parent | f530ae1938494a31de7c6766021fa62525f10ef9 (diff) | |
Adding first HW to repo. (#7)
* Create README.md
* Initial commit
* Initial commit
* Create README.md
* Rename homework/81281/c2html.pl to homework/81281/c2html/c2html.pl
* Rename homework/81281/test.c to homework/81281/c2html/test.c
* Update README.md
* Update README.md
* Update c2html.pl
* Update c2html.pl
* Update c2html.pl
* Update README.md
* Update c2html.pl
* Update test.c
* Create executeProgram.sh
* Update README.md
1 files changed, 27 insertions, 0 deletions
| -rw-r--r-- | homework/81281/c2html/README.md | 27 |
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/) |
