当前位置:网站首页>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 ...
边栏推荐
- Screen record of the opening ceremony of the Beijing winter olympics 2
- Development tools -- gcc compiler usage
- Nb-iot technical summary
- Improve lighting C program
- Verilog -- state machine coding method
- VESC Benjamin test motor parameters
- ·Practical website·
- Hardware 3 -- function of voltage follower
- Global and Chinese markets for waste treatment air switches 2022-2028: Research Report on technology, participants, trends, market size and share
- UEFI development learning 4 - getting to know variable services
猜你喜欢
High end electronic chips help upgrade traditional oil particle monitoring
软件设计师:03-数据库系统
Halcon's practice based on shape template matching [2]
C WinForm [help interface - send email] - practice five
Win10 shortcut key
Connection mode - bridge and net
Programming knowledge -- assembly knowledge
The firmware of the connected j-link does not support the following memory access
Software designer: 03 database system
Realization of binary relation of discrete mathematics with C language and its properties
随机推荐
The research found that the cross-border e-commerce customer service system has these five functions!
C language uses arrays to realize the intersection, union, difference and complement of sets
LED display equipment records of the opening ceremony of the Beijing Winter Olympics
导电滑环磨损快的原因
Altium designer 19.1.18 - change the transparency of copper laying
C WinForm [change the position of the form after running] - Practical Exercise 4
Reasons for rapid wear of conductive slip rings
About yolov3, conduct map test directly
Improve lighting C program
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 quenching furnaces 2022-2028: Research Report on technology, participants, trends, market size and share
Extern keyword function
UEFI development learning 6 - creation of protocol
Global and Chinese market of blackbody calibration source 2022-2028: Research Report on technology, participants, trends, market size and share
UEFI development learning 5 - simple use of protocol
MySQL blind note common functions
Shape template matching based on Halcon learning [vi] find_ mirror_ dies. Hdev routine
Global and Chinese market of core pallets 2022-2028: Research Report on technology, participants, trends, market size and share
Wifi-802.11 negotiation rate table