Adela Vais - SAOC Milestones - Dlang GLR Parser for GNU Bison
Adela Vais
adela.vais99 at gmail.com
Tue Oct 6 20:31:41 UTC 2020
Hello all!
Starting this week, I will post the milestones for #SAOC2020 only
on this thread, as it will be easier to follow them this way.
General milestones: [0].
Milestone 1 Update 1: [1].
Milestone 1 Update 2: [2].
My plan for last week was:
- to continue familiarizing myself with the M4 functions used
within the repo (working on lookahead correction and continuing
the add other features); (done)
- to start analyzing the C and C++ existing parsers, by writing
programs that would help me understand the key differences
between them. (not done - postponed)
As of last week:
- I continued to do tasks in the repo[3][4][5][6].
- Bison's documentation was updated to include D support[7]. I
now have an updated list of the features in the D backend and I
know what needs to be added or improved.
- I documented myself about some of the features I need to
implement or improve asap (lookahead, error messages, etc).
- The PR[8] for dlang/phobos is still open.
The plan for next week:
- While finishing the documentation, I realized that the LALR
parser has a lot of missing features, so I will focus on adding
them.
- I also plan to enhance the user interface, allowing the user to
view the TokenKind and the semantic value as a complete symbol,
as opposed to different values.
- I will create a context error message function, that will help
me better encapsulate the code, provide more efficient code (it
will appear in the program only if certain directives have been
selected by the user), and will make a smoother transition to
adding the missing custom error message.
- I will also continue working on the lookahead correction if I
have the time. It is postponed until I add the context
functionality.
[0]:
https://forum.dlang.org/post/ngdkxwyhrcduspuslfoe@forum.dlang.org
[1]:
https://forum.dlang.org/post/xxnwpbmagtzuhwmsusnu@forum.dlang.org
[2]:
https://forum.dlang.org/post/qnrnrjxrcmglbgwndkby@forum.dlang.org
[3]:
https://github.com/akimd/bison/commit/4bbda69f1ef10a40cfd28deb9bf619e28dcdbf6b
[4]:
https://github.com/akimd/bison/commit/4855b9855465c3289f1f8f452bc0b09ba5711e05
[5]:
https://github.com/akimd/bison/commit/3829bd6262ee22f445217808dd0aa2c34b72f660
[6]:
https://github.com/akimd/bison/commit/7cd195b30aa615fa9996f471c1f200e016a904a5
[7]:
https://github.com/akimd/bison/commit/72360b51a545a5c1d03027885466f5855c67c61e
[8]: https://github.com/dlang/phobos/pull/7642
More information about the Digitalmars-d
mailing list