当前位置:网站首页>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 ...
边栏推荐
- Global and Chinese markets for flexible endoscopic lithotripsy devices 2022-2028: Research Report on technology, participants, trends, market size and share
- mysql 盲注常见函数
- Some errors in configuring the environment
- L'étude a révélé que le système de service à la clientèle du commerce électronique transfrontalier a ces cinq fonctions!
- 找不到实时聊天软件?给你推荐电商企业都在用的!
- VESC Benjamin test motor parameters
- Verilog -- state machine coding method
- Some tips for using source insight (solve the problem of selecting all)
- C language uses arrays to realize the intersection, union, difference and complement of sets
- Interview catalogue
猜你喜欢
如何进行导电滑环选型
C WinForm [get file path -- traverse folder pictures] - practical exercise 6
研究發現,跨境電商客服系統都有這五點功能!
Network communication process
Win10 shortcut key
Record the opening ceremony of Beijing Winter Olympics with display equipment
C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
Carrier period, electrical speed, carrier period variation
Arduino uses nrf24l01+ communication
Volatile of C language
随机推荐
Vofa+ software usage record
Fundamentals of C language
Detailed explanation of pragma usage
Record the opening ceremony of Beijing Winter Olympics with display equipment
Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world
找不到实时聊天软件?给你推荐电商企业都在用的!
Global and Chinese markets for flexible endoscopic lithotripsy devices 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of rammers 2022-2028: Research Report on technology, participants, trends, market size and share
Markdown tips
Screen record of the opening ceremony of the Beijing winter olympics 2
About the problem that MySQL connector net cannot be cleared in MySQL
UEFI development learning 3 - create UEFI program
研究发现,跨境电商客服系统都有这五点功能!
Drive LED -- GPIO control
Altium designer 19.1.18 - change the transparency of copper laying
Altium designer 19.1.18 - clear information generated by measuring distance
[untitled] record the visual shock of the Winter Olympics and the introduction of the display screen
通过sql语句统计特定字段出现次数并排序
Makefile application
Altium Designer 19.1.18 - 清除测量距离产生的信息