Commit Graph

12 Commits

Author SHA1 Message Date
Alexander Patel
90f95391b3 Makefile: compile objects individually, then link
This commit updates the Makefile to complile each .c source file into
an object before linking. The benefit of this is that only the necessary
files will be recompiled when modifying the code.

We also move the Makefile and build.bat up to the root directory of the
repo. This is so that calling make directly builds the binaries.
Both files are updated to adapt to the new directory structure.

With this change, initial build times are increased from ~3s to ~10s on
my machine. However, subsequent build times are improved.

As a result of this change, SConstruct is somewhat deprecated. We can
update this as well if necessary in a future change.

I verified that the build completes successfully and tests pass for
both ubuntu and windows 10.

A future change could compile src/ files into a static library to be
linked with cli/, if necessary.

Issue: #64
2021-06-17 00:56:09 -07:00
Thakee Nathees
53ac9a6ae8 yet another import statement refactor 2021-05-19 18:56:36 +05:30
Thakee Nathees
3fad5fea46 build script refactored 2021-05-17 17:23:01 +05:30
Thakee Nathees
9c77ff5a6c docs buildscript updated 2021-05-14 15:14:39 +05:30
Thakee Nathees
5c1b776047 fixed: local variables wasn't poped from the scope 2021-05-13 14:40:57 +05:30
Thakee Nathees
40de966ed0 try now page implemented with wasm 2021-05-13 00:58:44 +05:30
Thakee Nathees
89a1cd1c4f try-online wasm implementations 2021-05-12 18:54:56 +05:30
Thakee Nathees
1d2d88fa7a docs source moved to master
generated files only remain in docs/ branch
2021-05-12 13:42:54 +05:30
Thakee Nathees
3e444ad196 assertion function and tests impl.
- main moved to cli
2021-05-11 18:05:09 +05:30
Thakee Nathees
7ea8df652c language name changed to pocketlang 2021-05-08 16:24:07 +05:30
Thakee Nathees
d7495235aa a list of TODOs created 2021-02-16 23:58:03 +05:30
Thakee Nathees
c77801daf3 initial commit 2021-02-07 13:17:58 +05:30