trueagi-io / metta-examples

Discussion of MeTTa programming with examples
MIT License
20 stars 18 forks source link

chapter 1.1 and chapter 1.3 added to SICP #22

Closed DaddyWesker closed 1 year ago

DaddyWesker commented 1 year 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 1 year ago

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

vsbogd commented 1 year ago

Thanks @DaddyWesker, I am happy to merge it now