Commit Graph

6 Commits

Author SHA1 Message Date
Qi Xiao
d86b61cac9 Fix broken links in d.elv files. 2024-01-02 19:38:14 +00:00
Qi Xiao
cfc914e9ba New read-bytes builtin to read a fixed number of bytes. 2023-07-20 11:24:01 +01:00
Qi Xiao
f0c5767ab6 pkg/eval: Use json.Number in from-json. 2023-05-22 07:35:17 +01:00
Qi Xiao
08007a52ce website/cmd/md2html: Support implicit link targets to elvdoc sections.
For example, [`put`]() links to the elvdoc for "put".

Also remove the @cf macro now that implicit targets make it easier to link to
other elvdoc sections.
2023-01-02 02:36:58 +00:00
Qi Xiao
980cf009ca Parse comment blocks preceding var and fn declarations as doc comments.
Convert all .elv files (including .d.elv files) to use this new format.
2022-11-22 22:59:31 +00:00
Qi Xiao
a3f4384495 Move all elvdocs into .d.elv files.
The elvdocs still use the old format (#elvdoc:fn or #elvdoc:var) for now, but
will be changed to "fn" and "var" forms soon.

Also remove the accidentally committed cmd/mvelvdoc. It has been used to perform
the conversion automatically but is not supposed to be committed.
2022-11-20 21:59:45 +00:00