Skia
b06785f4b7
Last stuff found in my worktree
...
The git hook seems to tell me it's building, but I don't know what
works and what doesn't.
2020-09-24 18:50:32 +02:00
Skia
5931642177
Improve array function, and some shit in Makefiles
2014-06-04 13:03:19 +02:00
Skia
5c88af4cb6
Try to implement an operator overloading for the Token.. fails..
...
Still there are some useful stuff to print Tokens...
2014-06-03 21:11:10 +02:00
Skia
152b5c6e08
Fix a small bug in the Buffer
2014-06-03 14:24:54 +02:00
Skia
6d626037d8
Fix the LList, and add some TODOs in the various functions
...
That design could work well!
2014-06-03 02:28:45 +02:00
Skia
b3ca188c8b
Still some organizing: everything compile well!
...
TODO now: the parser!
2014-06-02 22:00:15 +02:00
Skia
6381f30b06
Restucture the whole project!
...
Every header file is now in the includes folder: easier to find, and easier to
include
For example: we don't need to include some shit like that:
"../../includes/local.h" with aweful relative paths
By the way, local.h wasn't explicit at all, so lot of code has moved to a more
explicit file: Token.[h|cpp] and so on...
I STRONGLY RECOMMAND READING THE LOGS FOR THIS COMMIT!
2014-06-02 20:59:58 +02:00
Skia
04a80e8ec5
Finish the LList for the Parser... Some changes in Makefiles
2014-06-02 17:45:29 +02:00
Skia
01aab053d1
Continue a bit of parser...
2014-06-01 23:47:34 +02:00
Skia
ea88ac5b01
Begin a Parser. Doesn't compile yet, but it's just a draft, for thinking to a
...
design!
2014-05-31 22:16:17 +02:00
mino
99aebe7b41
Not important
2014-05-30 21:05:02 +02:00
mino
e7a9d627db
Some cleanups and some new dirs
2014-05-30 20:51:59 +02:00
mino
81a4d25141
Fix missing header file in TestBuffer.cpp
2014-05-30 20:32:44 +02:00
Skia
5a65835ff7
Fix the remaining memleaks. There are no more!
2014-05-22 11:22:58 +02:00
Skia
87b8187ff6
Fix some memleak... Still some remaining.
2014-05-22 02:29:15 +02:00
Skia
611571a8e2
Fix every running bug: works fine. Still a lot of memleak
2014-05-22 01:05:54 +02:00
Skia
0a017d455b
Fix the Buffer
...
that was in fact the workaround for the last Buffer in the Scanner that did some shit... ^^
2014-05-22 00:33:23 +02:00
Skia
995ecf9ea5
Make a new working buffer: still a small bug in first identifier
2014-05-21 13:43:52 +02:00
tom
8493619cd0
Added(commented) prototype for bigger file read.
2014-05-14 19:20:32 +02:00
mino
1baf7e2d53
Add some testing to buffer ...
2014-05-17 23:39:54 +02:00
mino
79befaa872
Remove commented stuff from Scanner, Add some comments and some TODOs
2014-05-17 18:07:35 +02:00
Skia
c6df8dd3b7
Change the comment handling method: the Automat now has a part of the job
2014-05-15 14:48:32 +02:00
Skia
3d90bdaf80
Merging Tom's work. Lines seems to work better, remains the cols
2014-05-15 02:12:33 +02:00
tom
7892de810d
repeated try
2014-05-14 18:06:07 +02:00
Skia
c28a00c664
Add SysprogII.pdf
2014-05-14 12:17:16 +02:00
Skia
79ff1e193e
Fix the buffer and the scanner...
...
The whole scanner works except for the lines and cols: the Buffer still needs to
be fixed...
2014-05-14 03:12:28 +02:00
tom
e158fe7c85
Found the unGetChar() error. Added new test to TestBuffer
2014-05-13 20:49:09 +02:00
tom
f90f127a7f
Merge branch 'master' of pike.tf:compiler
2014-05-13 19:03:42 +02:00
tom
ce3d247f4d
Added getRow and getColumn to TestBuffer
2014-05-13 19:03:21 +02:00
mino
46bfff9281
Simplify Scanner::nextToken
2014-05-13 17:49:43 +02:00
mino
eafbff0156
Make everything work in Scanner
...
It got a little bit derpy, but without a redesign of functionality in other
modules, this is the only way to make it work logically. There is still
some stuff in Symboltable to do.
We might do a redesign of this later, for now it works well.
2014-05-13 15:51:57 +02:00
tom
fb118d911f
Merge branch 'master' of pike.tf:compiler
2014-05-12 19:01:53 +02:00
tom
6a67adc859
Small Test for Buffer
2014-05-12 12:41:43 +02:00
mino
fc7ac98b25
Merge branch 'master' of pike.tf:compiler
2014-05-11 21:27:11 +02:00
mino
9eadbe8010
Add changes to makefiles for standalone compiling and testing
2014-05-11 21:26:45 +02:00
tom
952f924daa
Added basic TestBuffer
2014-05-11 20:50:09 +02:00
tom
3f06255fac
Forgot Buffer::getLexemSize
2014-05-11 20:29:34 +02:00
tom
40fc5016a3
Redid lexem stuff, lexem[0]...
2014-05-11 11:41:53 +02:00
tom
c00ff48d7a
Changed some lines back, until the essential stuff works. Added LexemLength. Fixed getRow, getCol for Lexem. Added len check in unGetChar(). More testing tomorrow.
2014-05-10 19:47:21 +02:00
mino
ef1d586c1c
Simplify last commit
2014-05-09 17:04:45 +02:00
mino
fbc29aa5f4
Fix another problem in comment-handler ... (i hope i catched all cases now ...)
2014-05-09 16:54:50 +02:00
mino
d830feec99
Fix comment-handler potentially missing the end of a comment
2014-05-09 16:51:49 +02:00
mino
3a26820e0c
Add testFile5
2014-05-09 15:52:00 +02:00
mino
6cc66fb244
Change the way printing works
...
As stated in slides: unknown tokens come to stderr, all other output should go into a file.
2014-05-09 15:28:51 +02:00
mino
40a82b532b
Add further TODO to Scanner
2014-05-09 14:38:48 +02:00
mino
ab9adda332
Add some further TODOs to Scanner and fix some things
2014-05-09 14:32:07 +02:00
mino
e276928a5b
Fix some mistake in comment-handler
2014-05-09 14:05:46 +02:00
mino
5ce632b6d7
Add some TODOs to comment-handler
2014-05-09 13:56:22 +02:00
mino
2e3007f551
Add testFile4
2014-05-09 13:54:17 +02:00
mino
12d1f4e941
Some small fixes for comment-handler
2014-05-09 13:38:15 +02:00