Skip to content

leoCamilo/GanttDiagramLanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gantt Diagram Language

A language compiler for generate gantt diagram, builted with Antlr and Java on IntelliJ.

language syntax:

begin
    [setInterval {days}]    -- optional, default interval 30 days

    createTheme {project-theme} {
        createTask {task-name} {
            dataIni :   {start date of the task}
            duracao :   {duration in days}
            nomeResp :  {people responsable for the task}
            [percent :  {how much task is complete in percentage}]         -- optional, default value 0
        }

        ...

    }

    ...

end

Examples of code using this grammar:

The program uses the input stream directly, so, copy and paste the example, or your code, and use Ctrl + D to finish the input. After run the main program is generated a file on project directory named Gantt Diagram.html as result of compile process with a graphical visualization of the gantt diagram.