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

checkpoint #3

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

checkpoint #3

wants to merge 1 commit into from

Conversation

richardkiss
Copy link
Collaborator

Comments and notes to self. Do not merge this PR; it's for discussion purposes only.

@richardkiss richardkiss marked this pull request as draft April 27, 2023 00:30
@richardkiss
Copy link
Collaborator Author

I haven't reviewed every file yet, but I thought I'd push partial work.

Copy link
Contributor

@stmharry stmharry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments. More to come

@@ -14,6 +14,9 @@
)
)

;; this is very clever
;; I wonder if it makes sense to have "profiles" like rust does, so we can get debug messages
;; back from asserts in DEBUG mode, but have them stripped out for RELEASE mode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. We can have two includes: (include cypher.clib) and (include [email protected])

cypher.clsp Show resolved Hide resolved
cypher/constants.clsp Show resolved Hide resolved
cypher/constants.clsp Show resolved Hide resolved
(defconstant cypher.constants.CONS #c)
(defconstant cypher.constants.FIRST #f)
(defconstant cypher.constants.REST #r)
(defconstant cypher.constants.LISTP #l) ;; the `#` emphasizes that it's a keyword
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh so #c is identical to plain c?

cypher/constants.clsp Show resolved Hide resolved
cypher/constants.clsp Show resolved Hide resolved
@@ -1,7 +1,7 @@
;; Hashing library.

(
; name mingling to be compatible with curry-and-treehash.clinc
; name mangling to be compatible with curry-and-treehash.clinc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅

cypher/hashlib.clsp Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants