• R/O
  • HTTP
  • SSH
  • HTTPS

コミット一覧

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A categorical programming language


RSS
Rev. 日時 作者
ffc6ffd 2023-02-20 07:23:54 Corbin

More floating-point operations in Set.

b04691c 2023-02-18 07:56:51 Corbin

Add the ability to search the hive by name.

Honestly, it's almost better than Tab-completion. Almost.

0d71780 2023-02-18 04:48:54 Corbin

Take some benchmarks with the JIT.

a184ea8 2023-02-18 03:27:16 Corbin

Factor out calls to cammy-sample.

2a7f717 2023-02-18 03:06:19 Corbin

Finish refactoring RPython tools.

Now the new REPL calls RPython to go fast, but high-level manipulation
is now in CHICKEN Scheme. The resulting hive actions are much simpler
and more direct, while the speedy parts are JIT'd and the relational
parts are reversible.

8720f10 2023-02-17 09:06:56 Corbin

Disassemble from REPL.

Progress towards draw and animate.

2b92c2c 2023-02-17 06:37:27 Corbin

Remove old REPL functionality.

The REPL is still there, still useful, but no longer able to depend on
djinn.

cd9f952 2023-02-17 06:30:17 Corbin

Streamline the RPython arrow-to-CAM workflow.

Also finish refactoring the subcommands.

b84e21a 2023-02-17 03:04:33 Corbin

Get the RPython tool to build on its own.

Also, it is now known as the "sampler", because its primary design goal
is now to take samples from audio/video descriptions, rendering the
result to disk. A dedicated interpreter is appropriate for the task
because we may treat Cammy as a low-level language and directly
construct a JIT for a basic interpretation.

7e1613d 2023-02-16 16:12:46 Corbin

Add more floating-point operations.

Some NaNs are showing up. I wonder how I should deal with them...

1eaef1a 2023-02-16 15:08:17 Corbin

Refactor eval° fresh variables.

5342c2d 2023-02-16 11:44:32 Corbin

Fix recursion for decoding, too.

Allows computation of images. FWIW we should eventually refactor this so
that images are computed in the appropriate category; images in Set are
computed by pushing example elements through the interpreter!

1363a06 2023-02-16 11:09:45 Corbin

Fix recursion in elt->str.

I was hoping that the shadowing would work in my favor, but it does not.
So, I elected to just rename the recursive function, then bind it into
the implementation record.

fc5364c 2023-02-16 07:44:47 Corbin

Hammer out the core of an interpreter for CCCs with NNO.

The only thing I don't really like is the encoding of curries, but I'm
willing to trade readability for speed here.

0afd046 2023-02-16 05:18:47 Corbin

Add ability to switch between Set and Rel.

I haven't fully written the Set compiler yet, but it should not be
especially difficult. I'll hammer it out after lunch.

35d8218 2023-02-15 10:29:23 Corbin

Add read-only hive support to new REPL.

ffe7b54 2023-02-15 10:28:48 Corbin

cammyo: Rearrange clauses for convergence.

1f9cb97 2023-02-04 04:30:32 Corbin

Try turning around cammy°.

Doesn't appear to hurt? But also doesn't help for n-pred-maybe.

ecdf2d2 2023-02-03 06:42:37 Corbin

Figure out FP multiplication.

Test it out by implementing f-sqrt. It somewhat works? But has some
issues. The image and fiber aren't quite right, and it hangs on inputs
like 1.0. Nonetheless, it's promising!

I'm going to have to think about general principles before doing more
work here. This has been a good experiment, at least.

5a96f32 2023-02-03 01:31:41 Corbin

Correct exponent handling for addition.

2ab7e11 2023-02-02 23:22:43 Corbin

Fix FP reificiation.

I had the division backwards. Now, f-one evaluates to 1.0.

23bcde0 2023-02-02 14:41:01 Corbin

Debug FP multiplication somewhat.

For some reason, ground inputs are not giving a ground output. This
might be an issue with the structure of eval°, but I'm not seeing how.

ec5a068 2023-02-02 13:32:51 Corbin

Finish implementing FP.

Does it work? Kind of! We can evaluate f-add and f-mul at 0.0, for
example. We can't print either in general, though.

At this point, it's down to individual missing cases. I personally think
that we'll have fewer special cases overall, but I think that at least
fp-overflow° will need to change since we don't represent infinity with
a maximum exponent.

65b06ab 2023-01-30 16:33:19 Corbin

Clean up imports, fix FP unifications.

FP values are still off by a bit, but this seems to work for f-lt and
f-sign, at least.

6209f4c 2023-01-30 15:50:21 Corbin

More FP.

Strangely, these relations don't want to run forward *or* backward. I'm
starting to think that I've done something wrong with sample-elements,
or maybe build-fp.

bacf8c1 2023-01-30 15:03:37 Corbin

Really start implementing FP.

1.0 becomes 4.0, which is wrong. Also f-sign doesn't evaluate, although
I can compute its image. I suspect that I'll need to go back to the
paper and really focus on implementing each case carefully.

dee936e 2023-01-30 12:54:38 Corbin

Make jelly acceptance jelly-specific.

455bde1 2023-01-30 12:08:19 Corbin

Factor eval° more; make n-pred-maybe reversible.

I'm starting to notice some general patterns about reversibility. I'm
not sure whether I fully understand what's going on, though.

b5d326f 2023-01-30 11:08:39 Corbin

Implement sums; start implementing floats.

c8cc966 2023-01-29 14:08:36 Corbin

Implement relational currying.

I was worried about this, but it turns out to be pretty simple. It
doesn't really want to run backwards, which is fair. It also doesn't
want to run forwards, unless the input is ground. This might be a more
fundamental problem, and we might need to have a curry° to make a more
tractable search.