ityonemo / ityonemo/selectrix

UPDATE #25

Open
#34 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
85
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Happy New Year!

After taking a bit longer than I expected updating zigler, I am back in the saddle on working on Selectrix. Over in mavis_inference land, I ran into a bit of snag because some test opcode statements are not working correctly, and I made a video about the surprising meaning of `is_nil` in the virtual machine: https://youtu.be/nebDOqU0TJ0

I decided to go ahead and work on some stuff in mavis that will help out with test opcodes, and that is LITERAL TYPES. This has been nagging at me ever since I started this project, and quite frankly it's disappointing that dialyzer does not support them. PR to merge Literal Type functionality is here: https://github.com/ityonemo/mavis/pull/140 and I will be making a video on the subject soon. It was also really neat how smoothly literal types fit in the organizational scheme of Mavis, which to me is a sign that "I am doing things correctly".

Now that Literal types are done, it's going to be much easier writing code for SUBTRACTION TYPES. This is explicitly not a part of what Dialyzer supports (nor does Gradualizer support this). It's going to be a bit of effort, but I think that the way that mavis is organized is going to make producing Subtraction types *easy*. And even though it's going to make Mavis more complex, it's going to be worth it because test conditions, and case statements, etc. are going to be buttery-smooth.

Update 24:
https://github.com/ityonemo/selectrix/issues/33

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Mavis PR #140 for literal-type functionality and the related discussion in Selectrix issue #33. The update says subtraction types are the next planned work, but it does not identify files, tests, or acceptance criteria; confirm the current scope before proceeding.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.