.Y

Y File

Amiga Yabba compressed archive file
Ask a question
QUICK ANSWER

A .Y file is associated with Amiga Yabba compressed archive, a developer file.

Developer: Stephen C. Johnson Category: Developer Files
OPENS ON Windows Mac OS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the Y file format?

Files with the extension .Y are in text format. They serve as source files for software designed to generate syntax analyzers, namely source code parsers. The Yacc program - Yet Another Compiler-Compiler utilizes .Y files to create the appropriate C header and source files. Files with the .Y extension contain a set of formal declarations that define a programming language. They can be opened for viewing in any text editor.

Structure of Yacc Definition Files

In files with the .Y extension, referred to as Yacc definition files, there are typically three sections. They concern:

  • Definition Section - declarations, with source code between the markers %{ and %} and a list of grammar terminals - %token separated by commas,
  • Rules Section - grammatical production rules following the marker %% - production{... }, where C code may be placed to be executed upon meeting conditions,
  • Code Section - usually containing the main function and other necessary functions.

The first and last section may be empty, depending on the specifics of the language and its parser.

How are .Y files used?

.Y files are used in YACC software for creating code analyzers according to a bottom-up analysis strategy, also known as bottom-up analysis. A file with the .Y extension should be specified when launching the Yacc program, which will generate C source code requiring compilation. .Y files can be straightforwardly created in the lex program, which can construct the appropriate analyzer - an input file for Yacc, based on the specified rules.

Format details

in a nutshell
FULL NAMEAmiga Yabba compressed archive file
DEVELOPERStephen C. Johnson

Programs that open Y files

Mac OS2 apps
Linux2 apps

Community Q&A

asked by users
Ask a quick question
Get help from people who work with Y files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about Y files.

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.DATProgram Data File (generic)
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TXTPlain Text File

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z