Skip to content

An example of using a scanner generator to create a simple file transformation

Notifications You must be signed in to change notification settings

colesabin/Project_0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 0

A simple project that converts some plain text into HTML. Single and double quotes are replaced with appropriate html entities and line breaks are added to new lines.

To build

After downloading the repo use the following command to create a docker image:

docker build --tag=proj0 .

Then to run the image:

docker run -it proj0

To run

Once in the docker image use the binary proj0 in bin to convert some text to HTML. It takes in the location of a text file as a command and will produce an output file called output.html. For example using the included test.txt file:

bin/proj0 data/test.txt

About

An example of using a scanner generator to create a simple file transformation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 71.8%
  • Dockerfile 28.2%