当前位置:网站首页>My-basic application 2: my-basic installation and operation
My-basic application 2: my-basic installation and operation
2022-07-05 08:02:00 【Changjiang houlang blog】
stay windows The running effect on is as follows :
Installation process help :
Installation
install
Using standalone interpreter binary
// Use standalone interpreter binaries
This repository contains precompiled binaries for Windows and macOS,
the easiest way is to download to get a direct playground.
Or you can make a build by:
// This library contains precompiled Windows and macOS Binary ,
// The easiest way to download binary files directly into Happy
// Or you can compile it yourself :
Using the Visual Studio workspace my_basic.sln on Windows to build an executable
Using the Xcode workspace my_basic_mac.xcodeproj on macOS to build an executable
Using the makefile on *nix OS to build an executable
//1、 stay window System use VS In the workspace my_basic.sln To create and run
//2、 stay macOS System use Xcode In the workspace my_basic_mac.xcodeproj To create and run
//3、 stay *nix OS System use makefile To create and run
Follow these steps to compile an interpreter binary manually for any platform:
// Follow these steps to manually compile the interpreter binaries for any platform
Retrieve everything under the core and shell folders for a minimum build
Setup your toolchain for compiling and linking
Compile core/my_basic.c and shell/main.c, with both including core/my_basic.h;
then link up an executable
//1、 retrieval core and shell Everything under the folder , To get the smallest build
//2、 Set up tool chains for compilation and linking
//3、 compile core/my_basic.c and shell/main.c, Also include core/my_basic.h , Then connect to execute
The standalone interpreter supports three running modes:
// Set up tool chains for compilation and linking :
Execute the binary without arguments to use the interactive mode
// Execute binaries without parameters , To use interactive mode
Type "HELP" and hint Enter to get usages of it
// type “HELP” And prompt Enter To get its usage
Pass a file to the binary to load and run that BASIC source code
// Pass files to binaries to load and run basic source code
Pass an argument -e followed with an expression to evaluate and print instantly as a simple calculator, eg. -e "2 * (3 + 4)"
// Pass a parameter -e, Followed by an expression to calculate , And immediately print it out as a simple calculator :eg. -e "2 * (3 + 4)"
The content is being updated , Please continue to check ...
边栏推荐
- .NET服务治理之限流中间件-FireflySoft.RateLimit
- C WinForm [change the position of the form after running] - Practical Exercise 4
- Use of orbbec Astra depth camera of OBI Zhongguang in ROS melody
- Bootloader implementation of PIC MCU
- Programming knowledge -- assembly knowledge
- Network communication process
- Correlation based template matching based on Halcon learning [II] find_ ncc_ model_ defocused_ precision. hdev
- Hardware 3 -- function of voltage follower
- Global and Chinese market of peeled bourdon tubes 2022-2028: Research Report on technology, participants, trends, market size and share
- Wifi-802.11 negotiation rate table
猜你喜欢
Improve lighting C program
Altium designer 19.1.18 - change the transparency of copper laying
Altium Designer 19.1.18 - 导入板框
Train your dataset with yolov4
万字详解八大排序 必读(代码+动图演示)
C WinForm [display real-time time in the status bar] - practical exercise 1
Use of orbbec Astra depth camera of OBI Zhongguang in ROS melody
MLPerf Training v2.0 榜单发布,在同等GPU配置下百度飞桨性能世界第一
L'étude a révélé que le système de service à la clientèle du commerce électronique transfrontalier a ces cinq fonctions!
Create inf module in AMI code
随机推荐
Process communication mode between different hosts -- socket
研究發現,跨境電商客服系統都有這五點功能!
C WinForm [exit application] - practice 3
Altium Designer 19.1.18 - 隐藏某一个网络的飞线
matlab timeserise
Shape template matching based on Halcon learning [vi] find_ mirror_ dies. Hdev routine
Altium Designer 19.1.18 - 清除测量距离产生的信息
UEFI development learning 5 - simple use of protocol
Create inf module in AMI code
Altium Designer 19.1.18 - 导入板框
生产中影响滑环质量的因素
C WinForm [help interface - send email] - practice five
Train your dataset with yolov4
Global and Chinese markets for recycled boilers 2022-2028: Research Report on technology, participants, trends, market size and share
mysql 盲注常见函数
Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
Shape template matching based on Halcon learning [viii] PM_ multiple_ models. Hdev routine
Altium designer 19.1.18 - Import frame
Beijing Winter Olympics opening ceremony display equipment record 3
[professional literacy] core conferences and periodicals in the field of integrated circuits