| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
The former is just bad syntax.
|
|
Summary: Small update to add Windows on Arm64 support.
Also requires the latest version 3.14 of the WiX toolset.
|
|
|
|
|
|
|
|
|
|
|
|
By default, use more traditional linking pattern with meson.
The janet.exe will now link to janet-x.x.dll on windows (and
similar for linux/posix) when built with meson. This is slightly
less efficient and means that janet.exe built this way is no longer
standalone (you would need to move the dll along with the exe), but
plays better with most build systems.
|
|
One is a way to export symbols, the other a way to reference
API functions. Also include prebuilt dlljanet.dll and dlljanet.lib
for windows to save people the trouble of compiling janet.c themselves.
|
|
|
|
|
|
JPM and related functionality has been moved to it's own repository
and will be versioned separately from Janet. The distribution process
could later be modified to bundle a version of jpm with Janet but this
is perhaps not needed.
|
|
|
|
Use build/c/janet.c in both to prevent accidental inclusion
of build/janet.h (which may be stale) instead of the source headers.
|
|
It is still present in the MSI.
|
|
Make doc-format respect leading indents, increase the default format
width to better accommodate markdown formatted documentation. We still
need to support single line style doc strings, such as those used
for most c functions which can be a single line of much longer than
80 or 120 characters.
Consecutive whitespace internal to lines is not preserved, though.
|
|
This results in a cleaner amalgmated build
|
|
|
|
|
|
Test in CI with both meson and normal build.
Also test windows.
|
|
|
|
|
|
|
|
|
|
This way we can support fewer build configurations. Also, remove
all undefined behavior due to use of memcpy with NULL pointers. GCC
was exploiting this to remove NULL checks in some builds.
|
|
Because we use an amalgated build, feature
test macros should be set in a single file that
is included before any other headers, and is placed
at the top of the amalgamated build.
|
|
|
|
|
|
|
|
|
|
This should make version updates simpler. Also
try an make installer write to ProgramFiles instead
of ProgramFiles (x86) for 64 bit build.
|
|
Just makes things easier. Assume machines have msvcrt.dll
on them. If not, we can add msvcrt.dll to the dist folder and add to
installer.
|
|
|
|
On failure, cd back to original directory.
|
|
Also test some select packages when testing installation.
This is used in CI to make sure that versions of Janet work with
the most libraries.
|
|
|
|
This is useful for making one off executable scripts
without needing to set up a project.janet file.
|
|
This allows easy builds of the full interpreter with no
build system.
1. Get janet.c, janet.h, janetconf.h, and shell.c in a directory. Edit
janetconf.h as desired.
2. gcc shell.c janet.c -lm -ldl -O2 -o janet (on GNU-Linux for example)
3. ./janet -h (Yay!)
|
|
This makes it easier to get the CLI functionality when
embedding Janet, although the main reason is the init script
is now pre-compiled to bytecode when generating the boot image.
|
|
This caused bad stuff to be generated on windows, specifically
the amalg file. We cause totally strip <CR> from files on windows
using this script.
|
|
|
|
Instead, combine cook into jpm so we can manipulate
JANET_PATH without messing with jpm. path was moved to
and external repository, https://github.com/janet-lang/path.git
|
|
|
|
We can now build windows executables with jpm.
|
|
|
|
|
|
Using MSVC, no need for GNU tools.
|
|
Move all installed libraries into auxlib.
Move all installed executable scripts into auxbin.
|