Full profile at https://app.wafrn.net/blog/Booklordofthedings
(defvar *lexer-remains* NIL)
(defun lexer-match-literal (r literal type)
(if
(equal
(subseq r 0 (length (coerce literal 'list))) ;;Substring(r, 0, literal.length)
(coerce literal 'list)) ;;literal
(list type (subseq r 0 (length (coerce literal 'list))))
nil))
How[...]
(defvar *lexer-remains* NIL)
(defun lexer-match-literal (r literal type)
(if
(equal
(subseq r 0 (length (coerce literal 'list))) ;;Substring(r, 0, literal.length)
(coerce literal 'list)) ;;literal
(list type (subseq r 0 (length (coerce literal 'list))))
nil))
How[...]
i wanna do:
registerLexerToken(type, => token(char[]));
I guess I could have each token have a list of the remaining characters but idk if that wouldnt just blow up memory usage
i wanna do:
registerLexerToken(type, => token(char[]));
I guess I could have each token have a list of the remaining characters but idk if that wouldnt just blow up memory usage
Everyone else thats supposed to be here is either ill or on holiday
Everyone else thats supposed to be here is either ill or on holiday
"Remove spaces from a list of chars"
(return-from shorten-whitespace (let (out)
(dolist (a chars)
(unless (eql a " ")
(append out a))))))
can you tell that I dont know what im doing ?
"Remove spaces from a list of chars"
(return-from shorten-whitespace (let (out)
(dolist (a chars)
(unless (eql a " ")
(append out a))))))
can you tell that I dont know what im doing ?
- Person who has basically no lisp experience but rly doesnt like c
- Person who has basically no lisp experience but rly doesnt like c
The static site generator is now fully using js, so no more bun dependency.
Also some changes to the styling and some fixes so that codeblocks should no longer go offscreen
The static site generator is now fully using js, so no more bun dependency.
Also some changes to the styling and some fixes so that codeblocks should no longer go offscreen
Thank you so much for all your support and I hope you have a nice stay in the circus!
[ #art #artcommissions #kofitroupe ]
Thank you so much for all your support and I hope you have a nice stay in the circus!
[ #art #artcommissions #kofitroupe ]