https://github.com/colack/femcode
the femboy programming language
https://github.com/colack/femcode
Last synced: 27 days ago
JSON representation
the femboy programming language
- Host: GitHub
- URL: https://github.com/colack/femcode
- Owner: Colack
- License: gpl-3.0
- Created: 2024-10-28T20:31:53.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T17:42:05.000Z (6 months ago)
- Last Synced: 2024-12-13T05:12:14.925Z (5 months ago)
- Language: TypeScript
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# FemCode
This is FemCode, a joke programming language that is based on Femboys.
FemCode is very loosely based on TypeScript and JavaScript, but with a few key differences. You can find the full documentation [here](https://github.com/colack/femcode/blob/main/docs/README.md).
## Installation
`Quick heads up: FemCode is not yet available for installation.`
FemCode is available on npm, so you can install it using the following command:
```bash
npm install -g femcode --save-dev
```## Usage
You can run FemCode using the following command:
```bash
npx femcode
```## Syntax
### Variables
FemCode supports both `let` and `const` for variable declarations. Variables can be declared using the following syntax:
```typescript
let x: number = 5;
const y: string = "Hello, world!";
```### Functions
Functions can be declared using the following syntax:
```typescript
fn add(a: number, b: number) : number {
return a + b;
}
```