make memstart and memend accessible to user
fix typo in get spec
implement bi and tri
implemented comma-compilation to memory