--render-from: Handle exceptions if previous functionalities have not been yet rendered#48
Merged
Merged
Conversation
tjazerzen
force-pushed
the
feat/handle-wrong-render-ranges
branch
from
January 28, 2026 09:20
6792714 to
4a883cd
Compare
--render-from: Handle wrong render ranges
--render-from: Handle wrong render ranges--render-from: Handle exceptions if previous functionalities have not been yet rendered
kaja-s
reviewed
Jan 29, 2026
Collaborator
There was a problem hiding this comment.
I think we should align on the messaging and communication of functional specs.
I see "functional specs" as a section or heading for "functionalities". Meaning:
*** functional specs ***
- functionality_1
- functionality_2
- functionality_3
...
If we agree on this separation, then the error message would be as follows:
Error rendering ***plain code: Cannot start rendering from functionality 2 for module hello_world_python because the implementation of the previous functionality (1) hasn't been completed yet.
To fix this, please render the missing functionality (1) first by running:
codeplain hello_world_python.plain --render-from-1
tjazerzen
force-pushed
the
feat/handle-wrong-render-ranges
branch
2 times, most recently
from
January 29, 2026 16:52
d04fdbc to
991ac5c
Compare
tjazerzen
force-pushed
the
feat/handle-wrong-render-ranges
branch
from
January 30, 2026 09:08
991ac5c to
05ab4e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let's say you have module
hello_world_python.plain, which hasn't been rendered at all, and you runcodeplain hello_world_python.plain --render-from 2(assuming there are 2 FSs).1forhello_world_python.plainhasn't been implemented yet.1is missing and we provide informative error message before doing any generation beforehand (refer to the photo below).IMHO this is better UX.