From 8fe5dcb14d023a301a63b7d42770cbb8e9cdae4c Mon Sep 17 00:00:00 2001 From: "e.gavrin" Date: Fri, 4 Jul 2014 13:06:37 +0400 Subject: [PATCH] add AUTHORS, docs, + several benchmarks --- Makefile | 2 +- docs/compact_profile.txt | 15 +++++++++++++++ docs/links.txt | 0 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 docs/compact_profile.txt create mode 100644 docs/links.txt diff --git a/Makefile b/Makefile index 4fedd301d..a7f4077ed 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ release: -o $(TARGET) clean: - rm -f $(OBJ_DIR)/*.o *.bin *.o *~ lexer.log parser.log + rm -f $(OBJ_DIR)/*.o *.bin *.o *~ *.log *.log rm -f $(TARGET) rm -f $(TARGET).elf rm -f $(TARGET).bin diff --git a/docs/compact_profile.txt b/docs/compact_profile.txt new file mode 100644 index 000000000..17d0996b4 --- /dev/null +++ b/docs/compact_profile.txt @@ -0,0 +1,15 @@ +- Prohibit eval() usage, same as Function or new Function + eval() requires run time compilation because the source text might not + appear in the program or can be generated at run time. Run time compilation + is required to support the Function constructor and the Function function + when the body is not a string literal. +- Limit Unicode support +- Cut Number from 64bit to 32bit/16/8bit +- Do not allow addition, deletion or assignment to the properties of built-in + objects. + This limitation is needed to support a more efficient implementation based + on static compilation of built-in objects without risking that the objects + are mutated on shadowed by dynamically added properties. +- Do not allow usage of with statement + The with makes access to named references inefficient, because the scopes + for such access cannot be compiled until run time. diff --git a/docs/links.txt b/docs/links.txt new file mode 100644 index 000000000..e69de29bb