Home

Oil-dev is Alive!

2017-03-06

I've started using the [oil-dev@oilshell.org][] mailing list I set up in November. I also made the archives public.

Subscribe if you're interested!

Spec Tests

Goals

Version yak shaving.

  1. which requires get spec tests running on other people's machines.

  2. Run real programs. Starting with bin/osh ./spec.sh

Architectural Changes

Fixed two bugs: - Implement $1 .. $9 - Globbing needs to be overhauled. I mentioned that in review of Roadmap #3.

Architectural changes:

However for recursive evaluators, exceptions are really useful. It really obscures the logic of the interpreter to have this go-style

result, err = thing everywhere.

I still believe in errors as values?

Better interface: recursive

After architectural changes:

Just like I did with the parser, I want to do with the runtime.

  1. Run real programs. Starting out with the spec tests.
  2. Help development and Prevent regressions by encoding the behavior in spec tests.

Example Commits

Conclusion

If you are interested, read the Contributing page? Spec tests won't work but then you can see the problem.

An Ubuntu 14.04 VM will work for now.


Discuss this post on Reddit.
Get notified about new posts via @oilshellblog on Twitter.