path: root/libstd
AgeCommit message (Collapse)Author
2015-05-07Fix up OSX to work with previous tests.Ori Bernstein
2015-05-06Compile error on reaching end of func without return.Ori Bernstein
2015-05-06Don't unnecessarily reallocate bitset storage.Ori Bernstein
2015-05-06Add bitset max function.Ori Bernstein
Gives the largest value that can be held by the bitset. Icky; should be replaced with a proper iterator.
2015-05-04Init the parsed option list.Ori Bernstein
2015-05-03Run tests from mbld.Ori Bernstein
2015-05-03Clean up option parsing a bit.Ori Bernstein
2015-05-02Add std.optusage() function.Ori Bernstein
Now you can show usage manually if needed.
2015-05-02needed => optional.Ori Bernstein
Default to option args being mandatory.
2015-05-01Clean up optctx init.Ori Bernstein
2015-05-01More improvements in CLI option parsing.Ori Bernstein
2015-05-01Add support for '--' to end arg parsing.Ori Bernstein
2015-04-30Rework the option parsing api a bit.Ori Bernstein
2015-04-23Fix mbld file to run on plan9.Ori Bernstein
2015-04-23Stub out enough crud to get plan9 working.Ori Bernstein
2015-04-23Fix bootstrap on plan9.Ori Bernstein
We still don't generate type descriptions, but we at least run and bootstrap.
2015-04-21Move tests from test/ directory to libstd/test/Ori Bernstein
Use mbld to run this shit.
2015-04-20Add support for fixed size str buffers.Ori Bernstein
2015-04-20Add, enable, and test strbuf.myrOri Bernstein
2015-04-16Shuffle around files, remove redundant systags.Ori Bernstein
2015-04-15bigint.myr needs errno.use to compile.Ori Bernstein
Otherwise, we miss symbols. This should have been picked up implicitly, but it wasn't -- that should get fixed, but for now we just want the tests to run.
2015-04-15Rename bldfiles.Ori Bernstein
We now consume bld.proj/bld.sub over bldfile.
2015-04-14Include errno.useOri Bernstein
We were missing it.
2015-04-14Get a more or less working getcwd under OSX.Ori Bernstein
TODO: It still truncates long paths.
2015-04-14Get much closer to getting this whole mess working on OSX.Ori Bernstein
It looks like the last missing piece is a working getcwd.
2015-04-13Generate bootstrap scripts using mbld.Ori Bernstein
We can ditch myrbuild.
2015-04-13Remove debug print.Ori Bernstein
2015-04-13Implement getcwd() on Linux.Ori Bernstein
This is needed for the newest mbld.
2015-04-12Now actually fix it.Ori Bernstein
2015-04-12Fix std.pathnorm for empty strings.Ori Bernstein
The normalized version of "" should be ".", not "/". Make it so.
2015-03-26Generate type descriptions for valists.Ori Bernstein
the formatting test is still broken, but everything else seems to be working.
2015-03-10Remove another echo.Ori Bernstein
2015-03-09Use system specific util files.Ori Bernstein
2015-03-09Remove debug echo.Ori Bernstein
2015-03-09More makefile cleanups.Ori Bernstein
Separate stuff into GENSRC, and copy things correctly.
2015-03-08Move system files to the right place in the build.Ori Bernstein
Moving them in the makefile to SYSFILES, and naming them correctly in the bldfile means that Myrddin should now know how to build them without make's shuffling them around, and make clean will do the right thing.
2015-03-05Speed up build.Ori Bernstein
We get combinatorial explosions of tested patterns when using make matches. Use a script to fix this. (ugh).
2015-03-04Fix new builds.Ori Bernstein
- mbld doesn't need the files passed on the command line. - the system specific myr files should be listed in the makefile.
2015-03-03Add missing file.Ori Bernstein
2015-03-03Make exit() exit the whole process, portably.Ori Bernstein
OSX and Linux exit system calls are not interchangable. Linux exit() exits the thread, and exit_group() exits the process. OSX exit() exits the process. So, we need to wrap these up into system specific syswrap calls. syswrap+posixy.myr now contains shared system calls, and syswrap-ss+posixy-system.myr contains the ones that have different semantics. The goal is to move emulation (sleep, etc) into there.
2015-03-02Allow nonatomic constants in matches.Ori Bernstein
Until this commit: const Foo = "abc" match x | Foo: ... ;; would fail. This makes us look through the const to find its initializer.
2015-03-02Add some syscalls to support libthread.Ori Bernstein
2015-03-02Improve commenting in alloc.myrOri Bernstein
2015-02-23Fix indentation.Ori Bernstein
2015-02-23Add syserrno.myr.Ori Bernstein
2015-02-23Fix stupid mistake in exec() change.Ori Bernstein
2015-02-22Change fmt() to return a slice, not a size.Ori Bernstein
2015-02-22Blat needs permissions.Ori Bernstein
2015-02-21Start adding in some unit tests to run with mbld.Ori Bernstein
2015-02-21Add 'bytebuf' implementation.Ori Bernstein