Skip to content

Adding comments support#2

Open
jonathan-richer wants to merge 6 commits intoTryItOnline:masterfrom
jonathan-richer:master
Open

Adding comments support#2
jonathan-richer wants to merge 6 commits intoTryItOnline:masterfrom
jonathan-richer:master

Conversation

@jonathan-richer
Copy link
Copy Markdown

@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