Skip to content

kinjalik/F-Stroke-Compiler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

F-Stroke Language Compiler

This is a solution for an assignment from the 2nd qualifying stage of the NTI Contest in Software Engineering for Financial Technology.

What is F-Stroke?

F-Stroke is programming language, which supports functional programming. Being simplified and modified version of Lisp language, F-Stroke takes base syntax and semantics from it. - Description of assignment

Usage

usage: main.py [-h] [-o O] [--hex-size HEX_SIZE] input

positional arguments:
  input                File to input with F-Stroke code

optional arguments:
  -h, --help           show this help message and exit
  -o O                 File to output with Ethereum Byte Code
  --hex-size HEX_SIZE  Size of hex numbers in bytes (max and default 32)

Examples

python3 main.py input.fst
python3 main.py input.fst -o out.ebc

Plans and perspectives

  • Make automated tests of every new version of compiler using GitHub Actions of GitLab CI/CD
  • Make automated assembly of compiler into one .py file and prepare it to sending on Stepik (where judge system placed)

About

Solution for a task from 2nd tour of NTI's "Software Engineering for Finanical Technologies" Competition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages