Skip to content
/ Crab Public

CRAB is a virtual machine platform for embedded microcontroller systems.

License

Notifications You must be signed in to change notification settings

aleyn/Crab

Repository files navigation

大脚蟹开发平台

1.简介

  • 大脚蟹是一个面向嵌入式单片机系统的虚拟机平台,它可以让开发者抛开繁锁的硬件底层开发,从而使用简单易用的开发方式,专心开发他自己的应用程序。另一方面,也可以让硬件生产商在开发模式的时候,仅需提供硬件驱动接口,避免让核心硬件驱动直接暴露在初学者面前,从而保护硬件驱动的稳定性。

2.特点

  • 软硬件分离,让前端软件工程师专注应用程序的开发。
  • 专用硬件API接口,让应用程序控制硬件不再困难。
  • 兼容C#/Java大部分语法,大大降低语言学习难度。
  • 应用程序和硬件驱动程序物理隔离,不但彻底保护硬件驱动程序,更可以使用加密的方式保护应用程序。
  • 提供一整套开发过程中所必须的东西,它包括语言编译器,用户程序下载器,硬件日志监控,PC端虚拟设备,虚拟机。

3.用户端开发语言 大脚蟹的用户端开发语言采用CRAB语法,它有以下特点

  • 兼容大部分的 C# / Java 语法。
  • 关键字和标识符不区分大小写。
  • 字符串很方便使用,并且支持多种写法。
  • 独有的日期时间格式。
  • 有专用的接口和格式,用于软硬件沟通。
  • 独有的事件函数。
  • IF 语法和 Switch/Case 语法 更加强大好用。
  • 支持类(Class)和属性(Property),使用方便。
  • 还有其它加快开发的特性。。。

4.虚拟机实现端的开发语言

  • 是Ansi C,目前在BCB和IAR上编译通过,并运行完好。

5.大脚蟹项目资源

6.待续...

Crab Development Platform

1.Introduction

  • CRAB is a virtual machine platform for embedded microcontroller systems that allows developers to deviate from the underlying hardware development, using an easy-to-use development approach to develop their own applications. On the other hand, you can also let the hardware manufacturer in the development mode, only need to provide hardware-driven interface, to avoid the core hardware drivers directly exposed to the beginners in front, thus protecting the stability of hardware-driven.
  1. Features
  • Hardware and software separation, so that front-end software engineers focus on the development of applications.
  • Dedicated hardware API interface, so that the application control hardware is no longer difficult.
  • Compatible with C # / Java most of the syntax, greatly reducing the difficulty of language learning.
  • Physical isolation of applications and hardware drivers, not only to completely protect the hardware drivers, but also can use encryption to protect the application.
  • Provide a set of necessary things in the development process, which includes language compiler, user program downloader, hardware log monitoring, PC-side virtual devices, virtual machines.
  1. Client development language client development language using CRAB syntax, it has the following characteristics
  • Compatible with most of the C # / Java syntax.
  • Keywords and identifiers are not case sensitive.
  • Strings are easy to use and support multiple wordings.
  • Unique date and time format.
  • There are dedicated interfaces and formats for hardware and software communication.
  • Unique event function.
  • IF syntax and Switch / Case syntax is more powerful and easy to use.
  • Support class (Class) and property (Property), easy to use.
  • There are other features that accelerate development.
  1. Virtual machine to achieve the development language
  • Is Ansi C, currently compiled on BCB and IAR, and is running well.

5.Crab project website and resource

6.To be continued ...

About

CRAB is a virtual machine platform for embedded microcontroller systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published