Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/pl0cPublic

Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.

License

NotificationsYou must be signed in to change notification settings

ibara/pl0c

Repository files navigation

pl0c is a compiler for thePL/0language. It reads in PL/0 source code and outputsequivalent C source code.

It was written to be the subject of a series ofblog postson writing a compiler from a hands-on practical perspectivefor the beginner.

Building

Just runmake. Then (optionally)make install.

If you are on a platform that does not includestrtonum(3)in its libc, remove-DHAVE_STRTONUM fromCFLAGS.In this case, you'll have to putstrtonum.c in thesame directory aspl0c. This will be improved.

Version

The current version is1.0.2.

You can find a source tarball in the Releases tab.

Issues and Pull Requests

Issues and Pull Requests are accepted at any time.

If your Pull Request changes the compiler in any way, I askthat you remember to update the bootstrap compiler usingmake genbootstrap and including the updated bootstrapcompiler as part of the Pull Request.


[8]ページ先頭

©2009-2025 Movatter.jp