trueagi-io / metta-examples

Discussion of MeTTa programming with examples
MIT License
17 stars 16 forks source link

chapter 1.1 and chapter 1.3 added to SICP #22

Closed DaddyWesker closed 11 months ago

DaddyWesker commented 11 months ago

So, @vsbogd asked me to PR my current Metta code. Here I'm trying to convert scheme-based SICP book's examples and exercises to Metta code. Hopefully these will be helpful for those who wants to learn Metta. Chapter_1_3 is not finished yet so I'll update PR in the future and make it not draft after this. Chapter_1_3 takes some time to go through all asserts.

And there is also a problem I've pointed out with fixed-point function.

DaddyWesker commented 11 months ago

@vsbogd I've fixed all things you've mentioned here and pushed new commit. And I'm opening this PR now.

vsbogd commented 11 months ago

Thanks @DaddyWesker, I am happy to merge it now