Version 8 (modified by Sam Hocevar, 6 years ago) (diff)


Development notes

My brain is too small. I'm putting stuff here to remember it later.

Remove useless spaces where I don't want to see them:

 :%s/  *$//
 :%s/(  */(/g
 :%s/  *\([);]\)/\1/g
 :%s/\(for\|if\|while\) (/\1(/g

Add spaces where I want to see them:

 # After commas and semicolons
 :%s/\([,;]\)\([^ ]\)/\1 \2/g
 # Inside = + += > etc. Breaks inside strings, unfortunately.
 :%s/\([a-zA-Z0-9]\)\([-+*/><=&^%]\|[-+*/><=&^%!]=\)\([a-zA-Z0-9]\)/\1 \2 \3/g

Other tasks:

  • Check uses of malloc that could be lmalloc.
  • What is LObjectVar for?
  • Fix FILLED mode.
  • Wrap l_user_stack uses in a clean class.