TP_AL_C.git
7 years agoProperly read characters from the source file.
Jérôme Benoit [Mon, 13 Nov 2017 11:52:20 +0000 (12:52 +0100)] 
Properly read characters from the source file.

And add proper error handling.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoIntroduction of wchar.h to support more characters.
Jérôme Benoit [Sun, 12 Nov 2017 16:16:01 +0000 (17:16 +0100)] 
Introduction of wchar.h to support more characters.

Store the found token and its value in an struct array while at it.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoIncrement the number of tokens found after the array storage.
Jérôme Benoit [Thu, 9 Nov 2017 13:51:10 +0000 (14:51 +0100)] 
Increment the number of tokens found after the array storage.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoStore all tokens found during the lexical analysis in an array.
Jérôme Benoit [Thu, 9 Nov 2017 13:41:58 +0000 (14:41 +0100)] 
Store all tokens found during the lexical analysis in an array.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoAdd FIXME comment for MOTCLE matching
Jérôme Benoit [Sun, 22 Oct 2017 17:44:49 +0000 (19:44 +0200)] 
Add FIXME comment for MOTCLE matching

7 years agoFix a typo
Jérôme Benoit [Sun, 22 Oct 2017 08:57:56 +0000 (10:57 +0200)] 
Fix a typo

7 years agoCode cleanup: properly indent the scanner function.
Jérôme Benoit [Sun, 22 Oct 2017 08:18:35 +0000 (10:18 +0200)] 
Code cleanup: properly indent the scanner function.

7 years agoCode cleanup and make the test.txt inline with the NPARA detection.
Jérôme Benoit [Sat, 21 Oct 2017 20:30:00 +0000 (22:30 +0200)] 
Code cleanup and make the test.txt inline with the NPARA detection.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoFix for the NPARA detection.
Jérôme Benoit [Sat, 21 Oct 2017 20:07:13 +0000 (22:07 +0200)] 
Fix for the NPARA detection.

I'm afraid this is not enough ...

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoFix the sub section detector.
Jérôme Benoit [Sat, 21 Oct 2017 16:53:02 +0000 (18:53 +0200)] 
Fix the sub section detector.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoPush the code of a basic lexical analyser for the markdown syntax.
Jérôme Benoit [Sat, 21 Oct 2017 16:34:24 +0000 (18:34 +0200)] 
Push the code of a basic lexical analyser for the markdown syntax.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoAdd a test file for the lexer
Jérôme Benoit [Fri, 20 Oct 2017 10:11:57 +0000 (12:11 +0200)] 
Add a test file for the lexer

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoAdd file parsing code to lexer
Jérôme Benoit [Fri, 20 Oct 2017 10:00:15 +0000 (12:00 +0200)] 
Add file parsing code to lexer

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoAdd lexer code skeleton
Jérôme Benoit [Fri, 20 Oct 2017 09:20:00 +0000 (11:20 +0200)] 
Add lexer code skeleton

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoAdd .gitignore
Jérôme Benoit [Fri, 20 Oct 2017 09:17:16 +0000 (11:17 +0200)] 
Add .gitignore

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>