Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/FPublic

An Implementation of F by@ac1235 (https://ac1235.github.io/f.html)

License

NotificationsYou must be signed in to change notification settings

MegaIng/F

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Implementation of F by @ac1235 (https://ac1235.github.io/f.html)

Implementation Details

  • Syntax completely like in the documentation by @ac1235 (All of his example can be parsed and executed)
  • Numbers are always theDecimal type from python.
  • Strings have (almost) C-like escaping and are written between"
  • Variadic Value Syntax, allowing for List unpacking (...(<List-Value>))

How to use

f.py

f [-h] [-m {a,i,c}] [program] argv*

  • program selects the file to be run. If not present, will start a REPL.
  • -m/--mode selects a mode on ho to handle the input
    • a/ast chooses the to ast compiler. The default
    • i/interpreter chooses the interpreter. The slowest option. Should get extended with a debugger
    • c/compiler chooses the to C compiler. Can not run a REPL or take argvs, but generates a executable (currently only on windows correctly)

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp