Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding comments support #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jonathan-richer
Copy link

@jonathan-richer jonathan-richer commented May 14, 2020

I think that comments are a crucial part of this language. It's as bad as brainfu*k and I'm happy that I developed a solution. I think this language has a lot of potential, but the lack of comments' support was really an issue. I know this is not javascript, but it could become the next brainfu*k. I have suggested the ; for in-line (which is terminated by either another ; or a LF) ;;; for the multi-line comments.
Example:

;;;
This program prints '0'
and ends with a Line Feed.
;;;
a ;I am an in-line comment
;I am another in-line comment; cccccbbCL
;;; Then I am just explaining
that I will end my program
with a Line Feed.;;;xcCL 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant