Commit Graph

72 Commits

Author SHA1 Message Date
80e489f55d regexs work! 2025-10-16 09:35:31 -07:00
de36b0a711 Cool dude! 2025-10-15 16:47:42 -07:00
d9bc5a64a4 wip 2025-10-15 16:18:18 -07:00
fe7abb8b21 wip 2025-10-15 08:45:37 -07:00
dbe5e60d04 wip 2025-10-14 16:12:17 -07:00
3a12d7baff wip 2025-10-13 15:35:58 -07:00
cb62fdf437 feat(compiler): add PipeExpr compilation support
Implement Task 6 from docs/plans/2025-10-12-pipe-expressions.md

- Add pipe operator (|) termination to tokenizer
- Update grammar to include expressionWithoutIdentifier in pipeOperand
- Add PipeExpr case to compiler switch statement
- Implement pipe compilation: piped value becomes first argument
- Store piped values in temporary __pipe_value variable
- Handle both FunctionCallOrIdentifier and FunctionCall operands
- Add integration tests for pipe expressions

Tests:
- Simple pipe (5 | double) works correctly
- Additional tests exist but have pre-existing issues with function parameters

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 17:00:17 -07:00
71b1744c08 feat(parser): add PipeExpr grammar rules
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 16:42:07 -07:00
fde2c31a81 feat(parser): add pipe token to grammar
Add "|" token to @tokens section to support pipe operator. This is the
first step in implementing Unix-style pipe expressions for chaining
function calls.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 16:31:02 -07:00
597a25da80 hell yeah 2025-10-10 15:50:09 -07:00
66807c02c9 clean 2025-10-09 09:48:27 -07:00
0a80f6d13d works better 2025-10-08 17:30:30 -07:00
7f52e5e7e3 yessss 2025-10-08 13:56:17 -07:00
447e70041d wip 2025-10-07 08:12:50 -07:00
a28bdf74c9 ok, cool 2025-10-06 16:37:07 -07:00
e0fafc0088 wip 2025-10-06 13:18:47 -07:00
d0ad8a0f20 wip 2025-10-03 10:25:36 -07:00
f608c9e4c5 wip 2025-10-03 08:15:02 -07:00
d89130b169 OMG hairy 2025-10-02 14:05:17 -07:00
0168d7f933 emoji 2025-09-29 11:40:32 -07:00
7585f0e8a2 wip 2025-09-29 10:00:26 -07:00
695d7f22bd Initial commit 2025-09-25 20:17:27 -07:00