James Shubin
a7624a2bf9
legal: Happy 2023 everyone...
...
Done with:
ack '2022+' -l | xargs sed -i -e 's/2022+/2023+/g'
Checked manually with:
git add -p
Hello to future James from 2024, and Happy Hacking!
2023-03-05 18:31:52 -05:00
James Shubin
6bfd781947
lang: Replace the go-bindata usage with embed
...
This doesn't let us have nested mcl at the moment, but we could improve
on this with an embed API for each package. For now this makes building
the project easier.
2022-09-11 20:55:37 -04:00
James Shubin
3cea422365
legal: Happy 2022 everyone...
...
Done with:
ack '2021+' -l | xargs sed -i -e 's/2021+/2022+/g'
Checked manually with:
git add -p
Hello to future James from 2023, and Happy Hacking!
2022-08-05 23:06:27 -04:00
James Shubin
0be4b86230
lang: funcs: core: iter: Add map iterator function
...
Sadly this doesn't all work yet, but the tests and xmap function are
approximately correct. Eventually we add filter and reduce too!
2022-08-04 14:23:16 -04:00
James Shubin
336a38081a
legal: Happy 2021 everyone...
...
Done with:
ack '2020+' -l | xargs sed -i -e 's/2020+/2021+/g'
Checked manually with:
git add -p
Hello to future James from 2022, and Happy Hacking!
2021-01-31 16:52:46 -05:00
Francois Rompre-Lanctot
36d30bc985
lang: funcs: Add macfmt function
2020-06-03 17:46:39 -04:00
James Shubin
2648fb1bb1
legal: Happy 2020 everyone...
...
Done with:
ack '2019+' -l | xargs sed -i -e 's/2019+/2020+/g'
Checked manually with:
git add -p
Hello to future James from 2021, and Happy Hacking!
2020-01-03 20:08:37 -05:00
James Shubin
9b4d11f220
lang: funcs: Move convert into correct folder
...
This got merged in the wrong folder by accident.
2019-10-30 06:21:34 -04:00
James Shubin
ed4ee3b58e
lang: funcs: Add deploy package with readfile related functions
...
This adds a readfile function to actually access files from our deploy.
A fun side effect is that we can even access our own code! In general,
it's a good reminder that you should only run trusted code on your own
infrastructure. This also includes a fancy new test case.
2019-07-26 03:38:26 -04:00
James Shubin
e4eb3c23a2
lang: funcs: core: Allow nested system imports
...
We were passing the wrong module name for system imports. This is now
fixed, includes an example, and some tests!
2019-05-20 09:23:28 -04:00
James Shubin
fc3baa28d6
lang: funcs: Add regexp package and match function
...
This adds a simple regexp match function. This will be useful for
regexp based name classification, if you're into that sort of thing.
2019-04-16 21:42:32 -04:00
James Shubin
07f542b4d7
legal: Happy 2019 everyone...
...
Done with:
ack '2018+' -l | xargs sed -i -e 's/2018+/2019+/g'
Checked manually with:
git add -p
Hello to future James from 2020, and Happy Hacking!
2019-03-24 15:08:50 -04:00
James Shubin
90fa83a5cf
lang: funcs: core: Move world API functions
...
Some of the core functions interact with the remote "world" API. Move
them all into the same package.
2019-02-07 12:32:32 -05:00
James Shubin
f368f75209
lang: funcs: core: Drop unnecessary core prefix from imports
...
This unbreaks the mcl bindata code. Of course we could change the parser
to allow this prefix, but this is cleaner. The packages still have a
core prefix, which it seems we could also remove, but this isn't
particularly important for anything.
2019-02-07 09:33:20 -05:00
James Shubin
b5e29771ab
lang: funcs: Add a trim space function to the new strings module
2019-02-01 07:00:05 -05:00
James Shubin
5a531b7948
lang: funcs: Add a new readfile function
...
This adds a new function that reads files from the local host.
2019-02-01 05:20:22 -05:00
James Shubin
046b21b907
lang: Refactor most functions to support modules
...
This is a giant refactor to move functions into a hierarchial module
layout. While this isn't entirely implemented yet, it should work
correctly once all the import bits have landed. What's broken at the
moment is the template function, which currently doesn't understand the
period separator.
2018-12-20 21:21:30 -05:00