path: root/libstd
AgeCommit message (Collapse)Author
2013-01-25Rebuild libstd if 6m is rebuilt.Ori Bernstein
Debugging test issues because we forgot to rebuild libstd sucks.
2013-01-21Add a license.Ori Bernstein
MIT style, because why not.
2013-01-18Add comments to the fmt.myr sourceOri Bernstein
2013-01-18Merge branch 'master' of git+ssh:// Bernstein
2013-01-18Don't return from a void function.Ori Bernstein
2013-01-18When the stdlib grows a slice, free the old one.Ori Bernstein
2013-01-17Disable broken code.Ori Bernstein
2013-01-16Comment the memory allocator.Ori Bernstein
The code was a bit opaque, because there was no rough overview of what algorithm was used. This adds an overview, as well as describing what the point of each function is.
2013-01-16Rename the command line option parser to 'optparse'.Ori Bernstein
Option sounds too much like the implementation of option types.
2013-01-16Comment the purpose of the tests.Ori Bernstein
Each test now gets a comment describing what it actually checks, and what it exits with.
2013-01-03Add missing cast in read syscallOri Bernstein
We were passing an uninitialized length. oops.
2013-01-03Remove spurious 'put'Ori Bernstein
2012-11-30Make nested generic calls work.Ori Bernstein
2012-11-24Fix compilation of libstd on osx.Ori Bernstein
2012-11-05Add support for 'slurp' function.Ori Bernstein
2012-11-05Make the return types of 'read' and 'write' more useful.Ori Bernstein
They return memory sizes, so do the right cast. Ugh.
2012-10-24Start supporting option parsing.Ori Bernstein
2012-10-24Allow option parsing to actually find options.Ori Bernstein
2012-10-21Don't specialize generics into other generics.Ori Bernstein
2012-10-19More OSX build fixes.Ori Bernstein
2012-10-19Make builds a bit more OSX friendlyOri Bernstein
2012-10-19Search default system include path last.Ori Bernstein
We used to search the system include path before any user specified ones. This doesn't allow us to override the system libraries. Fix the search order.
2012-10-18Build the test code for libstd as well.Ori Bernstein
2012-10-18Allow labels as leaf nodes in exprs.Ori Bernstein
2012-10-18Add in Linux-style symbol for 'std.cstring'.Ori Bernstein
2012-10-16Disable option parser compilation.Ori Bernstein
Oops, gotos are bugged.
2012-10-12Don't try to assign a byte to a slice.Ori Bernstein
2012-10-12Fix option parsing.Ori Bernstein
2012-10-12Merge branch 'master' of git+ssh:// Bernstein
2012-10-12Move towards compiling the option parsing code.Ori Bernstein
2012-10-12Add rudimentary untested option parsing.Ori Bernstein
Needs goto support. Luckily, that's easy to add.
2012-10-12Add OSX style symbol names to util.sOri Bernstein
It works the same, we just need an '_' in front of the function name.
2012-10-04Merge branch 'master' of git+ssh:// Bernstein
2012-10-04Fix the temporary string allocation on OSX.Ori Bernstein
2012-10-02Add missing file for last commit.Ori Bernstein
2012-10-02Use C strings for system calls.Ori Bernstein
We used Myrddin strings, which are not nul terminated, when entering the system. Since Posix systems use nul terminated strings for paths and such in system calls, this was wrong. Now, strings are allocated on the stack by an assembly function that does some trickery with stack pointer adjustment, and passed to the kernel that way. This should not be a bottleneck, and allows us to keep slicing strings.
2012-10-01Fix include paths for build filesOri Bernstein
2012-09-28use 'myrbuild' to build the standard Myrddin library.Ori Bernstein
2012-09-28Remove dead code.Ori Bernstein
2012-09-28Build tool is complete now.Ori Bernstein
2012-09-27Make CLI args work on OSX.Ori Bernstein
2012-09-27Rename 'util' directory to 'muse'.Ori Bernstein
One binary or library per directory with our build system.
2012-09-27Add support for command line args.Ori Bernstein
2012-09-27Use the right syscall number to exit.Ori Bernstein
2012-09-27Add start symbol for OSX.Ori Bernstein
2012-09-27Merge branch 'master' of git+ssh:// Bernstein
Conflicts: libstd/
2012-09-27Actually add the start file.Ori Bernstein
2012-09-27Add in '_start' to libstd.Ori Bernstein
2012-09-27Match the name of the directory to the name of the libOri Bernstein
We generate libstd, not libmyr. This gets installed to $PREFIX/myr/$LIBNAME, so this fairly generic name should not conflict with the system.