freja icon indicating copy to clipboard operation
freja copied to clipboard

freja-dofile should handle removal of old symbols

Open saikyun opened this issue 4 years ago • 0 comments

There are two alternatives for freja-dofile:

Use an existing env when running dofile

Benefits:

  • Simple due to no need to handle defonce and vars in a special way

Drawbacks:

  • Can mess up existing env with no recovery

Use a new env when running dofile

Benefits:

  • Cleaner, won't mess with existing env while compiling / evaling

Drawbacks:

  • Trickier to get vars and defonce working

Current state

Having some problems with vars working with second way. Might have figured out defonces.

saikyun avatar Sep 13 '21 18:09 saikyun