IppClub / IppClub/YueScript

Segfault when using macros via REPL

Open
#40 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
613
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Typing in the following code (or any other macro I've tried) into the REPL causes a segmentation fault on Linux:

macro name_of = (ident) -> "\"#{ident}\""
$name_of hi

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

Reproduce the macro snippet in the Linux REPL and trace the macro parsing or expansion path that leads to the segmentation fault. Done means the example no longer crashes and produces the expected result; the issue does not name a source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.