• Stars
    star
    1,405
  • Rank 33,478 (Top 0.7 %)
  • Language
    C
  • License
    Other
  • Created almost 11 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Embedded JavaScript engine for C/C++

V7: Embedded JavaScript engine

NOTE: this project is deprecated in favor of https://github.com/cesanta/mjs

License

V7 is the smallest JavaScript engine written in C. V7 features are:

  • Cross-platform: works on anything, starting from Arduino to MS Windows
  • Small size. Compiled static size is in 40k - 120k range, RAM footprint on initialization is about 800 bytes with freeze feature, 15k without freeze feature
  • Simple and intuitive C/C++ API. It is easy to export existing C/C++ functions into JavaScript environment
  • Standard: V7 implements JavaScript 5.1
  • Usable out-of-the-box: V7 provides an auxiliary library with Hardware (SPI, UART, etc), File, Crypto, Network API
  • Source code is both ISO C and ISO C++ compliant
  • Very easy to integrate: simply copy two files: v7.h and v7.c into your project

V7 makes it possible to program Internet of Things (IoT) embedded devices in JavaScript. V7 is a part of the full stack Mongoose OS Platform.

Examples & Documentation

Contributions

To submit contributions, sign Cesanta CLA and send GitHub pull request. You retain the copyright on your contributions.

Licensing

V7 is released under commercial and GNU GPL v.2 open source licenses.

Commercial Projects: Once your project becomes commercialised GPLv2 licensing dictates that you need to either open your source fully or purchase a commercial license. Cesanta offer full, royalty-free commercial licenses without any GPL restrictions. If your needs require a custom license, we’d be happy to work on a solution with you. [Contact us for pricing.] (https://www.cesanta.com/contact)

Prototyping: While your project is still in prototyping stage and not for sale, you can use V7’s open source code without license restrictions.

More Repositories

1

mongoose

Embedded Web Server
C
11,050
star
2

mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
C
2,508
star
3

mjs

Embedded JavaScript engine for C/C++
C
1,903
star
4

elk

A low footprint JavaScript engine for embedded systems
C
1,581
star
5

docker_auth

Authentication server for Docker Registry 2
Go
1,276
star
6

frozen

JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.
C
691
star
7

slre

Super Light Regexp engine for C/C++
C
520
star
8

fossa

Async non-blocking multi-protocol networking library for C/C++
C
440
star
9

mjson

C/C++ JSON parser, emitter, JSON-RPC engine for embedded systems
C
402
star
10

ssl_wrapper

Wrap plain TCP traffic into SSL
C
85
star
11

mongoose-os-smart-light

An example of full IOT product based on Mongoose OS
JavaScript
43
star
12

mDash

Arduino / ESP-IDF library for mdash.net IoT service
C
33
star
13

mos-tool

The Mongoose OS command line tool
24
star
14

str

A single header string library for microcontrollers - printf, json, etc
C
23
star
15

mongoose-os-docs

Mongoose OS Documentation
HTML
19
star
16

polar

PorarSSL <-> OpenSSL compatibility layer
C
17
star
17

validate-json

JSON validation tool and library
Go
16
star
18

stm32-bluepill

STM32 BluePill baremetal firmware for remote control via a CCM module
C
12
star
19

mdash-smart-light

a full IoT product reference design
JavaScript
10
star
20

mongoose-os-ide

VSCode extension for Mongoose OS
JavaScript
9
star
21

mip

Mini TCP/IP stack for embedded devices
C
7
star
22

arduino-drivers

C
6
star
23

homebrew-mos

Ruby
6
star
24

ucl

UCL handling library in Go
Go
5
star
25

gopro

go tcp and serial protocol proxy and dumper
Go
5
star
26

tcpuart

TCPUART
Makefile
5
star
27

mongoose-os-device-simulator

C
4
star
28

micro-printf

Tiny extendable printf for microcontrollers
C
3
star
29

mongoose-esp-idf

Mongoose Library component for ESP-IDF
CMake
3
star
30

goxnet

Fork of golang.org/x/net/websocket with fixes
Go
3
star
31

clubby_demo_android

Java
2
star
32

ubjson

Go
2
star
33

mongoose-wizard

2
star
34

vcon-app-example

A complete fleet dashboard built on https://vcon.io IoT platform.
JavaScript
2
star
35

aws-pico-tutorial

HTML
1
star
36

ccm-test-fw

Test firmware projects for CCM
C
1
star
37

mongoose-iot-examples

C
1
star
38

simplelink_mbed

simplelink SPI driver for mbed
C
1
star
39

gerrit-test

Test for gerrithub
C
1
star
40

binary

Makefile
1
star